2006-05-10 Paul Eggert <eggert@cs.ucla.edu>
[gnulib.git] / lib / getlogin_r.c
index d269b92..371164a 100644 (file)
@@ -18,7 +18,7 @@
 
 /* written by Paul Eggert and Derek Price */
 
-#if HAVE_CONFIG_H
+#ifdef HAVE_CONFIG_H
 # include <config.h>
 #endif
 
 
 #include <errno.h>
 #include <string.h>
-
-#if HAVE_UNISTD_H
-# include <unistd.h>
-#endif
+#include <unistd.h>
 
 #if !HAVE_DECL_GETLOGIN
 char *getlogin (void);