From c6599ee49ea8c6809536cb9de39c196f015bc41a Mon Sep 17 00:00:00 2001 From: Greg Hudson Date: Wed, 28 Sep 2011 22:26:27 +0000 Subject: Revert r25274 and just don't include sys/cdefs.h git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@25283 dc483132-0cff-0310-8789-dd5450dbe970 --- src/configure.in | 2 +- src/util/support/fnmatch.c | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) (limited to 'src') diff --git a/src/configure.in b/src/configure.in index 1926865c67..6c3eebcc44 100644 --- a/src/configure.in +++ b/src/configure.in @@ -797,7 +797,7 @@ rpcent_define='#define STRUCT_RPCENT_IN_RPC_NETDB_H'], rpcent_define='#define STRUCT_RPCENT_IN_RPC_NETDB_H']) AC_SUBST(rpcent_define) -AC_CHECK_HEADERS(sys/select.h sys/time.h unistd.h sys/cdefs.h) +AC_CHECK_HEADERS(sys/select.h sys/time.h unistd.h) if test $ac_cv_header_sys_select_h = yes; then GSSRPC__SYS_SELECT_H='#include ' else diff --git a/src/util/support/fnmatch.c b/src/util/support/fnmatch.c index d4d03420ba..7e5a993f7e 100644 --- a/src/util/support/fnmatch.c +++ b/src/util/support/fnmatch.c @@ -31,9 +31,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. */ -#ifdef HAVE_SYS_CDEFS_H -#include -#endif + #if defined(LIBC_SCCS) && !defined(lint) #if 0 static char sccsid[] = "@(#)fnmatch.c 8.2 (Berkeley) 4/16/94"; -- cgit