#2845 closed defect (fixed)
#7666 compile error on FreeBSD und dbox2 (gcc4.7.1)
Reported by: | dropsman | Owned by: | |
---|---|---|---|
Priority: | minor | Component: | General |
Severity: | low | Keywords: | |
Cc: | Sensitive: | no |
Description
Revision
7666 and above
Issue Description
Got this error during compile. See this thread http://www.streamboard.tv/wbb2/thread.php?threadid=35326.
Error:
oscam-config-global.c: In function 'global_fixups_fn':
oscam-config-global.c:140: warning: implicit declaration of function 'setpriority'
oscam-config-global.c:140: error: 'PRIO_PROCESS' undeclared (first use in this function)
Solution (thanx KRAIV):
#include <sys/resource.h> in globals.h
When the issue occurs
during compile
How the issue is reproducable
yes
Note:
See TracTickets
for help on using tickets.
Sorry. The error is in rev. 7656 and above....