Browse Source

Include stdint.h in test

Peter Limkilde Svendsen 6 years ago
parent
commit
7aa0fbdf93
1 changed files with 1 additions and 0 deletions
  1. 1 0
      tests/stdlib/alloc.c

+ 1 - 0
tests/stdlib/alloc.c

@@ -1,6 +1,7 @@
 #include <malloc.h>
 #include <stdio.h>
 #include <stdlib.h>
+#include <stdint.h> /* for SIZE_MAX */
 
 int main(int argc, char ** argv) {
     char * ptr = (char *)malloc(256);