extern char **environ;
#endif
+#ifdef HAVE_SETPGID
+#define setpgrp setpgid
+#endif
+
#define max(a, b) ((a) > (b) ? (a) : (b))
Lisp_Object Vexec_path, Vexec_directory, Vdata_directory, Vdoc_directory;
#define O_RDWR 2
#endif
+#ifdef HAVE_SETPGID
+#define setpgrp setpgid
+#endif
+
extern void malloc_warning ();
extern void set_time_zone_rule ();
extern char *index ();
#include <unistd.h>
#endif
+#ifdef HAVE_SETPGID
+#define setpgrp setpgid
+#endif
+
/* Get SI_SRPC_DOMAIN, if it is available. */
#ifdef HAVE_SYS_SYSTEMINFO_H
#include <sys/systeminfo.h>