]> git.pld-linux.org Git - packages/LPRng.git/blobdiff - LPRng-setgroups.patch
- fixed setgroups patch (builds now)
[packages/LPRng.git] / LPRng-setgroups.patch
index 5541457fcc1a0530876dd5fb2685d6a685c5e2a9..6e9fc56d8af4a1013bfe0c4158ef9875e56a6be9 100644 (file)
@@ -1,11 +1,13 @@
 --- LPRng-3.7.4/src/common/utilities.c.setgroups       Thu Jun  7 13:21:44 2001
 +++ LPRng-3.7.4/src/common/utilities.c Thu Jun  7 13:26:48 2001
-@@ -16,6 +16,10 @@
+@@ -16,6 +16,12 @@
  #include "getopt.h"
  #include "errorcodes.h"
  
 +/* for setgroups */
-+#define _BSD_SOURCE
++#ifndef _BSD_SOURCE
++#  define _BSD_SOURCE
++#endif
 +#include <grp.h>
 +
  /**** ENDINCLUDE ****/
This page took 0.086098 seconds and 4 git commands to generate.