test.h: sync with upstream
upstream commit: 4150ed1c1cce9e71a6b22024b9683ba4f2dc1bec Unbreak build with GCC on FreeBSD Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
This commit is contained in:
parent
7328b3f891
commit
9657d52cd7
|
@ -12,6 +12,7 @@
|
||||||
defined(__NetBSD__) || defined(__OpenBSD__)
|
defined(__NetBSD__) || defined(__OpenBSD__)
|
||||||
#define USE_SYSCTL_FOR_ARGS 1
|
#define USE_SYSCTL_FOR_ARGS 1
|
||||||
#include <sys/sysctl.h>
|
#include <sys/sysctl.h>
|
||||||
|
#include <sys/types.h>
|
||||||
#include <unistd.h> // getpid
|
#include <unistd.h> // getpid
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue