]> code.delx.au - gnu-emacs/blobdiff - lib/unistd.in.h
lisp/gnus/mail-source.el (mail-source-fetch-pop, mail-source-check-pop): Don't set...
[gnu-emacs] / lib / unistd.in.h
index a870fe7b4a309060ab662e268f50d2668a3a1e1f..2ea9af436527f057953750fdcf2bc536461d2a9f 100644 (file)
 /* mingw, MSVC, BeOS, Haiku declare environ in <stdlib.h>, not in
    <unistd.h>.  */
 /* Solaris declares getcwd not only in <unistd.h> but also in <stdlib.h>.  */
+/* OSF Tru64 Unix cannot see gnulib rpl_strtod when system <stdlib.h> is
+   included here.  */
 /* But avoid namespace pollution on glibc systems.  */
-#ifndef __GLIBC__
+#if !defined __GLIBC__ && !defined __osf__
 # define __need_system_stdlib_h
 # include <stdlib.h>
 # undef __need_system_stdlib_h
 /* Get getopt(), optarg, optind, opterr, optopt.
    But avoid namespace pollution on glibc systems.  */
 #if @GNULIB_UNISTD_H_GETOPT@ && !defined __GLIBC__ && !defined _GL_SYSTEM_GETOPT
+# define __need_getopt
 # include <getopt.h>
 #endif