summaryrefslogtreecommitdiff
path: root/net-mgmt/net-snmp/files/patch-tools.c
blob: f24a401ec9e669e0342b2bc41f465ccfb09565aa (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
--- snmplib/tools.c.orig	Tue Jan 25 10:13:50 2005
+++ snmplib/tools.c	Tue Jan 25 10:14:06 2005
@@ -44,6 +44,9 @@
 #include <arpa/inet.h>
 #endif
 
+#if HAVE_UNISTD_H
+#include <unistd.h>
+#endif
 #if HAVE_DMALLOC_H
 #include <dmalloc.h>
 #endif