瀏覽代碼

Undo move of include <string.h> in #222

bel 9 年之前
父節點
當前提交
d1c2d7bb9b
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. 2 1
      src/civetweb.c

+ 2 - 1
src/civetweb.c

@@ -129,7 +129,7 @@ mg_static_assert(sizeof(void *) >= sizeof(int), "data type size check");
 #include <mach/mach.h>
 #include <mach/mach_time.h>
 #include <assert.h>
-#include <string.h>
+
 
 /* clock_gettime is not implemented on OSX */
 int clock_gettime(int clk_id, struct timespec *t);
@@ -180,6 +180,7 @@ clock_gettime(int clk_id, struct timespec *t)
 #include <stdlib.h>
 #include <stdarg.h>
 #include <assert.h>
+#include <string.h>
 #include <ctype.h>
 #include <limits.h>
 #include <stddef.h>