diff options
| author | Dan Nicolaescu | 2010-10-03 08:19:34 -0700 |
|---|---|---|
| committer | Dan Nicolaescu | 2010-10-03 08:19:34 -0700 |
| commit | a3d5088daa2e78d9dc2d7eddc4ac9c56cfe11caa (patch) | |
| tree | fdb7783e90619a675f5bdcf2fc4471f5eacc8c01 /src/alloc.c | |
| parent | 372559454105e1691ca3507da3df5d8797b9baf8 (diff) | |
| download | emacs-a3d5088daa2e78d9dc2d7eddc4ac9c56cfe11caa.tar.gz emacs-a3d5088daa2e78d9dc2d7eddc4ac9c56cfe11caa.zip | |
Include <fcntl.h> unconditionally.
* src/termcap.c:
* src/sysdep.c:
* src/lread.c:
* src/keyboard.c:
* src/filelock.c:
* src/fileio.c:
* src/doc.c:
* src/callproc.c:
* src/alloc.c: Remove include guards for <fcntl.h>, process.c already
does it.
Diffstat (limited to 'src/alloc.c')
| -rw-r--r-- | src/alloc.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/alloc.c b/src/alloc.c index 5cbc7cfe411..0ab4f9f8f85 100644 --- a/src/alloc.c +++ b/src/alloc.c | |||
| @@ -65,15 +65,12 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 65 | extern POINTER_TYPE *sbrk (); | 65 | extern POINTER_TYPE *sbrk (); |
| 66 | #endif | 66 | #endif |
| 67 | 67 | ||
| 68 | #ifdef HAVE_FCNTL_H | ||
| 69 | #include <fcntl.h> | 68 | #include <fcntl.h> |
| 70 | #endif | ||
| 71 | #ifndef O_WRONLY | 69 | #ifndef O_WRONLY |
| 72 | #define O_WRONLY 1 | 70 | #define O_WRONLY 1 |
| 73 | #endif | 71 | #endif |
| 74 | 72 | ||
| 75 | #ifdef WINDOWSNT | 73 | #ifdef WINDOWSNT |
| 76 | #include <fcntl.h> | ||
| 77 | #include "w32.h" | 74 | #include "w32.h" |
| 78 | #endif | 75 | #endif |
| 79 | 76 | ||