Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix include sys/resource.h #1621

Merged
merged 1 commit into from
Jul 20, 2024
Merged

Conversation

michaelortmann
Copy link
Member

Found by: michaelortmann
Patch by: michaelortmann
Fixes:

One-line summary:
Fix include sys/resource.h

Additional description (if needed):
Followup PR to #719 and 1619

Test cases demonstrating functionality (if applicable):
Fixes the following bug:

$ uname -a
OpenBSD openbsd47.home.arpa 4.7 GENERIC#558 i386
$ make [...]
gcc -std=gnu99 -g -O2 -pipe -Wall -I.. -I..  -DHAVE_CONFIG_H -I/usr/local/include/tcl8.5 -g3 -DDEBUG -DDEBUG_ASSERT -DDEBUG_MEM -DDEBUG_DNS  -c cmds.c
In file included from cmds.c:25:
/usr/include/sys/resource.h:56: error: field `ru_utime' has incomplete type
/usr/include/sys/resource.h:57: error: field `ru_stime' has incomplete type
/usr/include/sys/resource.h:96: error: syntax error before "int32_t"
/usr/include/sys/resource.h:101: error: syntax error before "rlim_t"
/usr/include/sys/resource.h:107: error: syntax error before "fixpt_t"
In file included from cmds.c:25:
/usr/include/sys/resource.h:120: error: syntax error before "id_t"
/usr/include/sys/resource.h:123: error: syntax error before "id_t"
*** Error code 1
 
Stop in /home/michael/usr/src/eggdrop/src (line 92 of /usr/share/mk/sys.mk).
*** Error code 1
 
Stop in /home/michael/usr/src/eggdrop (line 256 of Makefile).

@vanosg vanosg added this to the v1.10.0 milestone Jul 20, 2024
@vanosg vanosg merged commit 98aa87d into eggheads:develop Jul 20, 2024
23 checks passed
@michaelortmann michaelortmann deleted the fix.resource branch July 20, 2024 21:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants