diff options
author | Thorsten Kukuk <kukuk@thkukuk.de> | 2005-05-01 07:48:12 +0000 |
---|---|---|
committer | Thorsten Kukuk <kukuk@thkukuk.de> | 2005-05-01 07:48:12 +0000 |
commit | 38f20982c48fea1b40f0f76f5063ede7de738c1f (patch) | |
tree | 6e10bf09f4411717cb3d34d06be981204c0f5820 /modules/pam_rhosts/pam_rhosts_auth.c | |
parent | dd2fcb2e8c9d714d6c35de631b959695855875a0 (diff) | |
download | pam-38f20982c48fea1b40f0f76f5063ede7de738c1f.tar.gz pam-38f20982c48fea1b40f0f76f5063ede7de738c1f.tar.bz2 pam-38f20982c48fea1b40f0f76f5063ede7de738c1f.zip |
Relevant BUGIDs: none
Purpose of commit: cleanup
Commit summary:
---------------
Solve duplicate definition warning
Diffstat (limited to 'modules/pam_rhosts/pam_rhosts_auth.c')
-rw-r--r-- | modules/pam_rhosts/pam_rhosts_auth.c | 17 |
1 files changed, 6 insertions, 11 deletions
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 <security/_pam_macros.h> #include <security/_pam_modutil.h> -#ifdef _ISOC9X_SOURCE -#include <inttypes.h> -#define U32 uint32_t +#ifdef HAVE_INTTYPES_H + #include <inttypes.h> + #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 |