Include <stdlib.h> if available.
This commit is contained in:
parent
67ba84d17a
commit
92939d319a
3 changed files with 13 additions and 0 deletions
|
@ -23,6 +23,11 @@ Boston, MA 02111-1307, USA. */
|
|||
#include <signal.h>
|
||||
|
||||
#include <config.h>
|
||||
|
||||
#ifdef STDC_HEADERS
|
||||
#include <stdlib.h>
|
||||
#endif
|
||||
|
||||
#include "lisp.h"
|
||||
#include "intervals.h"
|
||||
#include "puresize.h"
|
||||
|
|
|
@ -36,6 +36,10 @@ Boston, MA 02111-1307, USA. */
|
|||
#include <sys/ioctl.h>
|
||||
#endif
|
||||
|
||||
#ifdef STDC_HEADERS
|
||||
#include <stdlib.h>
|
||||
#endif
|
||||
|
||||
#include "lisp.h"
|
||||
#include "commands.h"
|
||||
#include "intervals.h"
|
||||
|
|
|
@ -32,6 +32,10 @@ Boston, MA 02111-1307, USA. */
|
|||
#include <unistd.h>
|
||||
#endif
|
||||
|
||||
#ifdef STDC_HEADERS
|
||||
#include <stdlib.h>
|
||||
#endif
|
||||
|
||||
#if !defined (S_ISLNK) && defined (S_IFLNK)
|
||||
# define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK)
|
||||
#endif
|
||||
|
|
Loading…
Add table
Reference in a new issue