projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Resolve clash between stdint.m4 and uintmax_t.m4.
[gnulib.git]
/
lib
/
getlogin_r.c
diff --git
a/lib/getlogin_r.c
b/lib/getlogin_r.c
index
d269b92
..
371164a
100644
(file)
--- a/
lib/getlogin_r.c
+++ b/
lib/getlogin_r.c
@@
-18,7
+18,7
@@
/* written by Paul Eggert and Derek Price */
/* written by Paul Eggert and Derek Price */
-#if HAVE_CONFIG_H
+#if
def
HAVE_CONFIG_H
# include <config.h>
#endif
# include <config.h>
#endif
@@
-26,10
+26,7
@@
#include <errno.h>
#include <string.h>
#include <errno.h>
#include <string.h>
-
-#if HAVE_UNISTD_H
-# include <unistd.h>
-#endif
+#include <unistd.h>
#if !HAVE_DECL_GETLOGIN
char *getlogin (void);
#if !HAVE_DECL_GETLOGIN
char *getlogin (void);