Sfoglia il codice sorgente

Include stdint.h in test

Peter Limkilde Svendsen 6 anni fa
parent
commit
7aa0fbdf93
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  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);