[HAVE_UNISTD_H]: Include unistd.h.
[bpt/emacs.git] / src / doc.c
index 8eccb66..8859914 100644 (file)
--- a/src/doc.c
+++ b/src/doc.c
@@ -27,6 +27,10 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.  */
 #include <fcntl.h>
 #endif
 
+#ifdef HAVE_UNISTD_H
+#include <unistd.h>
+#endif
+
 #ifndef O_RDONLY
 #define O_RDONLY 0
 #endif