Преглед изворни кода

Tests: Fix discovery test indcludes on OpenBSD

Julius Pfrommer пре 5 година
родитељ
комит
b33902c0d2
1 измењених фајлова са 3 додато и 0 уклоњено
  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