]> andersk Git - openssh.git/commitdiff
- (dtucker) [openbsd-compat/port-aix.{c,h}] Reduce scope of includes.
authordtucker <dtucker>
Mon, 18 Sep 2006 13:54:32 +0000 (13:54 +0000)
committerdtucker <dtucker>
Mon, 18 Sep 2006 13:54:32 +0000 (13:54 +0000)
   Prevents macro redefinition warnings of "RDONLY".

ChangeLog
openbsd-compat/port-aix.c
openbsd-compat/port-aix.h

index c1de453a6b463b5a9e3a8f08ab688f9b3da38cc3..5aea0d00a73b05558ac529f4b65c622bf058f193 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -3,6 +3,8 @@
    macro redefinitions, and if not, remove "-qlanglvl=ansi" from the flags.
    Allows build out of the box with older VAC and XLC compilers.  Found by
    David Bronder and Bernhard Simon.
+ - (dtucker) [openbsd-compat/port-aix.{c,h}] Reduce scope of includes.
+   Prevents macro redefinition warnings of "RDONLY".
 
 20060916
  - OpenBSD CVS Sync
index d0a42300578ccea4e93802a2f588177e04c603f9..b9fabf61f4f15f7d03be18d0817b9a2a734d7290 100644 (file)
 #include <string.h>
 #include <unistd.h>
 #include <sys/socket.h>
+
+#ifdef WITH_AIXAUTHENTICATE
+# include <login.h>
+# include <userpw.h>
+# if defined(HAVE_SYS_AUDIT_H) && defined(AIX_LOGINFAILED_4ARG)
+#  include <sys/audit.h>
+# endif
+# include <usersec.h>
+#endif
+
 #include "port-aix.h"
 
 # ifdef HAVE_SETAUTHDB
index 89746f73b945c2a86b48274d5919176355902a86..eae82a9e0858549faec39a3021f16002e6fb1bb9 100644 (file)
 #ifdef HAVE_SYS_SOCKET_H
 # include <sys/socket.h>
 #endif
-#ifdef HAVE_UNISTD_H
-# include <unistd.h>   /* for seteuid() */
-#endif
-
-#ifdef WITH_AIXAUTHENTICATE
-# include <login.h>
-# include <userpw.h>
-# if defined(HAVE_SYS_AUDIT_H) && defined(AIX_LOGINFAILED_4ARG)
-#  include <sys/audit.h>
-# endif
-# include <usersec.h>
-#endif
 
 #include "buffer.h"
 
This page took 1.005858 seconds and 5 git commands to generate.