*/
-#include <X11/Xosdefs.h>
-#ifdef WIN32
-#include <X11/Xw32defs.h>
-#endif
-#include <X11/Xfuncproto.h>
#include <stdio.h>
#include <ctype.h>
-#ifndef X_NOT_POSIX
-#ifndef _POSIX_SOURCE
-#define _POSIX_SOURCE
-#endif
-#endif
#include <sys/types.h>
#include <fcntl.h>
#include <sys/stat.h>
long f_line;
};
-#ifndef X_NOT_STDC_ENV
+#ifndef NO_STDLIB_H /* X_NOT_STDC_ENV */
#include <stdlib.h>
#if defined(macII) && !defined(__STDC__) /* stdlib.h fails to define these */
char *malloc(), *realloc();
struct inclist *newinclude();
struct inclist *inc_path();
-#if NeedVarargsPrototypes
+#ifdef STDARG_PROTOTYPES /* NeedVarargsPrototypes */
extern fatalerr(char *, ...);
extern warning(char *, ...);
extern warning1(char *, ...);
#define sigvec sigvector
#endif /* hpux */
-#ifdef X_POSIX_C_SOURCE
-#define _POSIX_C_SOURCE X_POSIX_C_SOURCE
#include <signal.h>
-#undef _POSIX_C_SOURCE
-#else
-#if defined(X_NOT_POSIX) || defined(_POSIX_SOURCE)
-#include <signal.h>
-#else
-#define _POSIX_SOURCE
-#include <signal.h>
-#undef _POSIX_SOURCE
-#endif
-#endif
#if NeedVarargsPrototypes
#include <stdarg.h>