From 6d6eebcafec81d696b621d8453b13d55a1f9be1d Mon Sep 17 00:00:00 2001 From: Sebastien Tricaud Date: Tue, 16 Nov 2004 14:27:40 +0000 Subject: Applied debian patches --- modules/pam_rhosts/pam_rhosts_auth.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'modules/pam_rhosts/pam_rhosts_auth.c') diff --git a/modules/pam_rhosts/pam_rhosts_auth.c b/modules/pam_rhosts/pam_rhosts_auth.c index b41b708d..979580ec 100644 --- a/modules/pam_rhosts/pam_rhosts_auth.c +++ b/modules/pam_rhosts/pam_rhosts_auth.c @@ -50,6 +50,10 @@ #include #endif /* HAVE_SYS_FSUID_H */ +#ifdef HAVE_NET_IF_H +#include +#endif + #include #include #include @@ -92,6 +96,14 @@ int innetgr(const char *, const char *, const char *,const char *); #include #include +#ifdef _ISOC9X_SOURCE +#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 -- cgit v1.2.3