From 38f20982c48fea1b40f0f76f5063ede7de738c1f Mon Sep 17 00:00:00 2001 From: Thorsten Kukuk Date: Sun, 1 May 2005 07:48:12 +0000 Subject: Relevant BUGIDs: none Purpose of commit: cleanup Commit summary: --------------- Solve duplicate definition warning --- modules/pam_rhosts/pam_rhosts_auth.c | 17 ++++++----------- 1 file changed, 6 insertions(+), 11 deletions(-) (limited to 'modules/pam_rhosts') diff --git a/modules/pam_rhosts/pam_rhosts_auth.c b/modules/pam_rhosts/pam_rhosts_auth.c index 979580ec..91446730 100644 --- a/modules/pam_rhosts/pam_rhosts_auth.c +++ b/modules/pam_rhosts/pam_rhosts_auth.c @@ -96,18 +96,13 @@ int innetgr(const char *, const char *, const char *,const char *); #include #include -#ifdef _ISOC9X_SOURCE -#include -#define U32 uint32_t +#ifdef HAVE_INTTYPES_H + #include + #define U32 uint32_t #else -/* to the best of my knowledge, all modern UNIX boxes have 32 bits integers */ -#define U32 unsigned int -#endif /* _ISOC9X_SOURCE */ - -/* Use the C99 type; older platforms will need this to be typedef'ed - elsewhere */ -#define U32 uint32_t - + /* to the best of my knowledge, all modern UNIX boxes have 32 bits integers */ + #define U32 unsigned int +#endif /* HAVE_INTTYPES_H */ /* * Options for this module -- cgit v1.2.3