From 73ad510fb5610d585c76709db71c2ed77b8ce486 Mon Sep 17 00:00:00 2001 From: Thien-Thi Nguyen Date: Sun, 9 May 2004 22:46:43 +0000 Subject: [PATCH] Conditionally include fcntl.h. --- lib-src/ChangeLog | 4 ++++ lib-src/test-distrib.c | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/lib-src/ChangeLog b/lib-src/ChangeLog index 97a653afc37..16db1575bee 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 -- 2.39.2