Преглед на файлове

Tests: Fix missing include for check_discovery on OpenBSD

Julius Pfrommer преди 6 години
родител
ревизия
24cb221aaf
променени са 1 файла, в които са добавени 4 реда и са изтрити 0 реда
  1. 4 0
      tests/server/check_discovery.c

+ 4 - 0
tests/server/check_discovery.c

@@ -12,6 +12,10 @@
 #include <fcntl.h>
 #include <check.h>
 
+#ifndef _WIN32
+#include <sys/stat.h>
+#endif
+
 // set register timeout to 1 second so we are able to test it.
 #define registerTimeout 1
 // cleanup is only triggered every 10 seconds, thus wait a bit longer to check