From: Thien-Thi Nguyen Date: Sun, 9 May 2004 22:44:35 +0000 (+0000) Subject: Conditionally include fcntl.h. X-Git-Tag: ttn-vms-21-2-B2~34 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=9e668c5d322c1aad5cc94df94f679e4783250356;p=emacs.git Conditionally include fcntl.h. --- diff --git a/lib-src/ChangeLog b/lib-src/ChangeLog index f5cea63e41f..70bbeed7efc 100644 --- a/lib-src/ChangeLog +++ b/lib-src/ChangeLog @@ -1,3 +1,7 @@ +2004-05-10 Thien-Thi Nguyen + + * test-distrib.c: Conditionally include fcntl.h. + 2004-05-09 Thien-Thi Nguyen * cvtmail.c: Throughout, replace 0 destined for `exit' arg diff --git a/lib-src/test-distrib.c b/lib-src/test-distrib.c index 56bfc42d975..9b720e1fc24 100644 --- a/lib-src/test-distrib.c +++ b/lib-src/test-distrib.c @@ -25,6 +25,10 @@ #include +#ifdef HAVE_FCNTL_H +#include +#endif + #ifdef HAVE_UNISTD_H #include #endif