浏览代码

Tests: Fix discovery test indcludes on OpenBSD

Julius Pfrommer 6 年之前
父节点
当前提交
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