diff options
| author | Andreas Schwab | 1999-08-30 16:18:30 +0000 |
|---|---|---|
| committer | Andreas Schwab | 1999-08-30 16:18:30 +0000 |
| commit | 92939d319a808c2f2162e079eadbdab2db813fcf (patch) | |
| tree | b2699d8e53681282685882623175b17ca28baa29 /src/fileio.c | |
| parent | 67ba84d17ae7219d3a6b10c5b72c85a273df0572 (diff) | |
| download | emacs-92939d319a808c2f2162e079eadbdab2db813fcf.tar.gz emacs-92939d319a808c2f2162e079eadbdab2db813fcf.zip | |
Include <stdlib.h> if available.
Diffstat (limited to 'src/fileio.c')
| -rw-r--r-- | src/fileio.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/fileio.c b/src/fileio.c index e9f9a9872ef..332503840c9 100644 --- a/src/fileio.c +++ b/src/fileio.c | |||
| @@ -32,6 +32,10 @@ Boston, MA 02111-1307, USA. */ | |||
| 32 | #include <unistd.h> | 32 | #include <unistd.h> |
| 33 | #endif | 33 | #endif |
| 34 | 34 | ||
| 35 | #ifdef STDC_HEADERS | ||
| 36 | #include <stdlib.h> | ||
| 37 | #endif | ||
| 38 | |||
| 35 | #if !defined (S_ISLNK) && defined (S_IFLNK) | 39 | #if !defined (S_ISLNK) && defined (S_IFLNK) |
| 36 | # define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) | 40 | # define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) |
| 37 | #endif | 41 | #endif |