# 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