Selaa lähdekoodia

Include stdint.h in test

Peter Limkilde Svendsen 6 vuotta sitten
vanhempi
commit
7aa0fbdf93
1 muutettua tiedostoa jossa 1 lisäystä ja 0 poistoa
  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);