浏览代码

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);