From 31dbda1a24b152c8eca3642efaec1409c0b5bf4d Mon Sep 17 00:00:00 2001 From: Tom Yu Date: Fri, 10 Jun 1994 23:12:45 +0000 Subject: [PATCH] fix dependencies on X11 source tree (oops :-) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@3744 dc483132-0cff-0310-8789-dd5450dbe970 --- src/util/makedepend/def.h | 14 ++------------ src/util/makedepend/main.c | 12 ------------ 2 files changed, 2 insertions(+), 24 deletions(-) diff --git a/src/util/makedepend/def.h b/src/util/makedepend/def.h index 60477417a..2d8c1b4bb 100644 --- a/src/util/makedepend/def.h +++ b/src/util/makedepend/def.h @@ -26,18 +26,8 @@ in this Software without prior written authorization from the X Consortium. */ -#include -#ifdef WIN32 -#include -#endif -#include #include #include -#ifndef X_NOT_POSIX -#ifndef _POSIX_SOURCE -#define _POSIX_SOURCE -#endif -#endif #include #include #include @@ -118,7 +108,7 @@ struct filepointer { long f_line; }; -#ifndef X_NOT_STDC_ENV +#ifndef NO_STDLIB_H /* X_NOT_STDC_ENV */ #include #if defined(macII) && !defined(__STDC__) /* stdlib.h fails to define these */ char *malloc(), *realloc(); @@ -138,7 +128,7 @@ struct filepointer *getfile(); struct inclist *newinclude(); struct inclist *inc_path(); -#if NeedVarargsPrototypes +#ifdef STDARG_PROTOTYPES /* NeedVarargsPrototypes */ extern fatalerr(char *, ...); extern warning(char *, ...); extern warning1(char *, ...); diff --git a/src/util/makedepend/main.c b/src/util/makedepend/main.c index 6d961bad2..ccf35147c 100644 --- a/src/util/makedepend/main.c +++ b/src/util/makedepend/main.c @@ -31,19 +31,7 @@ in this Software without prior written authorization from the X Consortium. #define sigvec sigvector #endif /* hpux */ -#ifdef X_POSIX_C_SOURCE -#define _POSIX_C_SOURCE X_POSIX_C_SOURCE #include -#undef _POSIX_C_SOURCE -#else -#if defined(X_NOT_POSIX) || defined(_POSIX_SOURCE) -#include -#else -#define _POSIX_SOURCE -#include -#undef _POSIX_SOURCE -#endif -#endif #if NeedVarargsPrototypes #include -- 2.26.2