diff options
| author | Dave Love | 2001-12-18 16:02:14 +0000 |
|---|---|---|
| committer | Dave Love | 2001-12-18 16:02:14 +0000 |
| commit | f0e8db05af916c12399b9d316822ab8ac1eae166 (patch) | |
| tree | 4a5696cbeee0eb20b688ead165101ad2d3157ce8 /lib-src | |
| parent | a33c19b172bb5f620ec3085e27c216b115580faa (diff) | |
| download | emacs-f0e8db05af916c12399b9d316822ab8ac1eae166.tar.gz emacs-f0e8db05af916c12399b9d316822ab8ac1eae166.zip | |
Conditionally include fcntl.h.
Diffstat (limited to 'lib-src')
| -rw-r--r-- | lib-src/test-distrib.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib-src/test-distrib.c b/lib-src/test-distrib.c index 52ffbb96438..15c935f1bb9 100644 --- a/lib-src/test-distrib.c +++ b/lib-src/test-distrib.c | |||
| @@ -25,6 +25,10 @@ | |||
| 25 | 25 | ||
| 26 | #include <stdio.h> | 26 | #include <stdio.h> |
| 27 | 27 | ||
| 28 | #ifdef HAVE_FCNTL | ||
| 29 | #include <fcntl.h> | ||
| 30 | #endif | ||
| 31 | |||
| 28 | #ifdef HAVE_UNISTD_H | 32 | #ifdef HAVE_UNISTD_H |
| 29 | #include <unistd.h> | 33 | #include <unistd.h> |
| 30 | #endif | 34 | #endif |