summaryrefslogtreecommitdiff
path: root/sysutils/gapcmon/files/patch-gapcmon.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/gapcmon/files/patch-gapcmon.c')
-rw-r--r--sysutils/gapcmon/files/patch-gapcmon.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/sysutils/gapcmon/files/patch-gapcmon.c b/sysutils/gapcmon/files/patch-gapcmon.c
new file mode 100644
index 000000000000..912b14333a10
--- /dev/null
+++ b/sysutils/gapcmon/files/patch-gapcmon.c
@@ -0,0 +1,10 @@
+--- src/gapcmon.c.orig Wed Oct 3 19:53:05 2007
++++ src/gapcmon.c Wed Oct 3 19:53:32 2007
+@@ -74,6 +74,7 @@
+ #include <unistd.h> /* close() */
+ #include <sys/types.h> /* socket() */
+ #include <sys/socket.h> /* socket() */
++#include <netinet/in.h>
+ #include <arpa/inet.h> /* ntohs() */
+ #include <netdb.h> /* gethostbyname() */
+ #include <errno.h>