} lldiv_t;
#endif
+#if !defined(HAVE_GETENV) || \
+ !defined(HAVE_USELOCALE)
+# include <stddef.h> /* NULL */
+#endif
+
#ifndef HAVE_REWIND
# include <stdio.h> /* FILE */
#endif
# include <stdarg.h> /* va_list */
#endif
+#ifndef HAVE_GETPID
+# include <sys/types.h> /* pid_t */
+#endif
+
#ifdef __cplusplus
extern "C" {
#endif
char *getcwd (char *buf, size_t size);
#endif
+#ifndef HAVE_GETPID
+pid_t getpid (void);
+#endif
+
#ifdef __cplusplus
} /* extern "C" */
#endif