summaryrefslogtreecommitdiff
path: root/lib/unistd.in.h
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2013-01-09 18:19:44 -0800
committerPaul Eggert <eggert@cs.ucla.edu>2013-01-09 18:19:44 -0800
commit6466e676b9e7d102e36f043df92351fe235b82f5 (patch)
tree14a4b884efa0cc1bbee91cc3094760a1b33674af /lib/unistd.in.h
parent51fb5578777d1041feaab31651b65e09e1731d33 (diff)
downloademacs-6466e676b9e7d102e36f043df92351fe235b82f5.tar.gz
Merge from gnulib.
Diffstat (limited to 'lib/unistd.in.h')
-rw-r--r--lib/unistd.in.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/unistd.in.h b/lib/unistd.in.h
index 5127eecd603..f011b71d5f5 100644
--- a/lib/unistd.in.h
+++ b/lib/unistd.in.h
@@ -79,7 +79,9 @@
/* Solaris declares getcwd not only in <unistd.h> but also in <stdlib.h>. */
/* But avoid namespace pollution on glibc systems. */
#ifndef __GLIBC__
+# define __need_system_stdlib_h
# include <stdlib.h>
+# undef __need_system_stdlib_h
#endif
/* Native Windows platforms declare chdir, getcwd, rmdir in