소스 검색

Include stdint.h in test

Peter Limkilde Svendsen 6 년 전
부모
커밋
7aa0fbdf93
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  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);