aboutsummaryrefslogtreecommitdiff
path: root/benchmarks/xdd/files/patch-global_time.c
blob: afe0dc1abf5c19e4693876320e3dd3a9637635e2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
--- global_time.c.orig	Fri Mar 16 06:52:49 2007
+++ global_time.c	Fri Mar 16 06:53:39 2007
@@ -42,11 +42,15 @@
 #else /* GENERIC_UNIX */
 #include <netdb.h>
 #include <sys/socket.h>
+#if (FreeBSD)
+#include <sys/types.h>
+#include <sys/unistd.h>
+#endif /* (FreeBSD) */
 #include <netinet/in.h>
 #include <netinet/tcp.h>
 #include <arpa/inet.h>
 #endif
-#if (AIX || HPUX || SOLARIS)
+#if (AIX || HPUX || SOLARIS || FreeBSD)
 #include <stdarg.h>
 #endif
 #include "xdd.h"