projects
/
debian
/
sudo
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Imported Upstream version 1.8.7
[debian/sudo]
/
compat
/
getcwd.c
diff --git
a/compat/getcwd.c
b/compat/getcwd.c
index 31855046c0d22876e30a184b92b5fe14a349a479..c5765be21404891a94adeed175972cb89232ed90 100644
(file)
--- a/
compat/getcwd.c
+++ b/
compat/getcwd.c
@@
-29,7
+29,9
@@
#include <config.h>
-#include <sys/param.h>
+#ifndef HAVE_GETCWD
+
+#include <sys/types.h>
#include <sys/stat.h>
#include <errno.h>
@@
-262,3
+264,4
@@
err:
(void)closedir(dir);
return NULL;
}
+#endif /* HAVE_GETCWD */