]> granicus.if.org Git - sudo/commitdiff
include unistd.h
authorTodd C. Miller <Todd.Miller@courtesan.com>
Thu, 3 Jan 2008 21:02:51 +0000 (21:02 +0000)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Thu, 3 Jan 2008 21:02:51 +0000 (21:02 +0000)
lbuf.c

diff --git a/lbuf.c b/lbuf.c
index 76d6d5fc20844fdff4e4f33b108094fded23beb8..71d3ce3e770d8de5f8b73d69d905ab4af3605d5c 100644 (file)
--- a/lbuf.c
+++ b/lbuf.c
@@ -37,6 +37,9 @@
 #  include <strings.h>
 # endif
 #endif /* HAVE_STRING_H */
+#ifdef HAVE_UNISTD_H
+# include <unistd.h>
+#endif /* HAVE_UNISTD_H */
 #include <ctype.h>
 
 #include "sudo.h"