diff src/s/linux.h @ 116:9f59509498e1 r20-1b10

Import from CVS: tag r20-1b10
author cvs
date Mon, 13 Aug 2007 09:23:06 +0200
parents 360340f9fd5f
children 59463afc5666
line wrap: on
line diff
--- a/src/s/linux.h	Mon Aug 13 09:21:56 2007 +0200
+++ b/src/s/linux.h	Mon Aug 13 09:23:06 2007 +0200
@@ -289,3 +289,8 @@
 #endif
 /* XEmacs: removed setpgrp() definition because we use setpgid() when
    it's available, and autodetect it. */
+
+/* glibc fuckage */
+#if defined __GLIBC__ && ((__GLIBC__ == 2 && __GLIBC_MINOR__ >= 1) || __GLIBC__ > 2)
+# define GETPGRP_NEEDS_ARG
+#endif