1
0
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:
Andreas Schwab 1999-08-30 16:18:30 +00:00
parent 67ba84d17a
commit 92939d319a
3 changed files with 13 additions and 0 deletions

View File

@ -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"

View File

@ -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"

View File

@ -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