]> git.eshelyaron.com Git - emacs.git/commitdiff
Conditionally include fcntl.h.
authorDave Love <fx@gnu.org>
Tue, 18 Dec 2001 16:02:14 +0000 (16:02 +0000)
committerDave Love <fx@gnu.org>
Tue, 18 Dec 2001 16:02:14 +0000 (16:02 +0000)
lib-src/test-distrib.c

index 52ffbb96438eab80e12d8d50a6e0c070d5594c91..15c935f1bb9c291ac389058a1b9170ee2adb2631 100644 (file)
 
 #include <stdio.h>
 
+#ifdef HAVE_FCNTL
+#include <fcntl.h>
+#endif
+
 #ifdef HAVE_UNISTD_H
 #include <unistd.h>
 #endif