diff -urN ucd-snmp-4.2.6/agent/auto_nlist.c ucd-snmp/agent/auto_nlist.c
--- ucd-snmp-4.2.6/agent/auto_nlist.c	Thu Feb  7 06:42:03 2002
+++ ucd-snmp/agent/auto_nlist.c	Wed Jun  2 21:09:58 2004
@@ -1,5 +1,9 @@
 #include <config.h>
 
+#if HAVE_UNISTD_H
+#include <unistd.h>
+#endif
+
 #ifdef CAN_USE_NLIST
 #if HAVE_STRING_H
 #include <string.h>
