浏览代码

need to include string.h for some mem funcs

Mike Frysinger 20 年之前
父节点
当前提交
acb9062515
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      test/malloc/malloc.c

+ 1 - 0
test/malloc/malloc.c

@@ -1,6 +1,7 @@
 
 #include <unistd.h>
 #include <stdlib.h>
+#include <string.h>
 #include <stdio.h>
 
 #define N_PTRS 1000