Explorar el Código

Fix missing header includes for OS X

Kevin Wojniak hace 10 años
padre
commit
8dc8bd644f
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  1. 2 0
      src/civetweb.c

+ 2 - 0
src/civetweb.c

@@ -90,6 +90,8 @@
 #include <sys/time.h>
 #include <mach/clock.h>
 #include <mach/mach.h>
+#include <mach/mach_time.h>
+#include <assert.h>
 
 //clock_gettime is not implemented on OSX
 int clock_gettime(int clk_id, struct timespec* t) {