mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-12-29 11:02:01 +00:00
Include <stdlib.h> if available.
This commit is contained in:
parent
67ba84d17a
commit
92939d319a
@ -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…
Reference in New Issue
Block a user