Skip to content

Add missing header grp.h

Acid Xeon requested to merge (removed):patch-1 into main

Fix FTBFS:

util.c: In function ‘cupsdPipeCommand’:
util.c:303:10: error: implicit declaration of function ‘initgroups’; did you mean ‘getgroups’? [-Wimplicit-function-declaration]
  303 |       if(initgroups(pwd->pw_name,pwd->pw_gid))
      |          ^~~~~~~~~~
      |          getgroups
make[1]: *** [../Makedefs:270: util.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory '/build/cups/src/cups-2.4.8/scheduler'
make: *** [Makefile:43: all] Error 1
==> ERROR: A failure occurred in build().

Merge request reports

Loading