Mercurial > emacs
comparison src/fileio.c @ 112317:7df2e30d72ec
Include <unistd.h> unilaterally.
author | Paul Eggert <eggert@cs.ucla.edu> |
---|---|
date | Sun, 09 Jan 2011 00:12:35 -0800 |
parents | 40af77a50adc |
children | 17e0028efc29 |
comparison
equal
deleted
inserted
replaced
112316:2887524f362a | 112317:7df2e30d72ec |
---|---|
24 #include <fcntl.h> | 24 #include <fcntl.h> |
25 #include <stdio.h> | 25 #include <stdio.h> |
26 #include <sys/types.h> | 26 #include <sys/types.h> |
27 #include <sys/stat.h> | 27 #include <sys/stat.h> |
28 #include <setjmp.h> | 28 #include <setjmp.h> |
29 | |
30 #ifdef HAVE_UNISTD_H | |
31 #include <unistd.h> | 29 #include <unistd.h> |
32 #endif | |
33 | 30 |
34 #if !defined (S_ISLNK) && defined (S_IFLNK) | 31 #if !defined (S_ISLNK) && defined (S_IFLNK) |
35 # define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) | 32 # define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) |
36 #endif | 33 #endif |
37 | 34 |