aboutsummaryrefslogtreecommitdiff
path: root/benchmarks/xdd/files/patch-global_time.c
diff options
context:
space:
mode:
Diffstat (limited to 'benchmarks/xdd/files/patch-global_time.c')
-rw-r--r--benchmarks/xdd/files/patch-global_time.c19
1 files changed, 19 insertions, 0 deletions
diff --git a/benchmarks/xdd/files/patch-global_time.c b/benchmarks/xdd/files/patch-global_time.c
new file mode 100644
index 000000000000..26208e9008eb
--- /dev/null
+++ b/benchmarks/xdd/files/patch-global_time.c
@@ -0,0 +1,19 @@
+--- global_time.c.orig Mon May 29 04:12:29 2006
++++ global_time.c Mon May 29 04:16:36 2006
+@@ -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"