Explorar el Código

Tests: Fix discovery test indcludes on OpenBSD

Julius Pfrommer hace 6 años
padre
commit
b33902c0d2
Se han modificado 1 ficheros con 3 adiciones y 0 borrados
  1. 3 0
      tests/server/check_discovery.c

+ 3 - 0
tests/server/check_discovery.c

@@ -10,6 +10,9 @@
 #include "thread_wrapper.h"
 
 #include <fcntl.h>
+#ifndef WIN32
+#include <sys/stat.h>
+#endif
 #include <check.h>
 
 #ifndef _WIN32