wait.h not found error in common/core.c (FreeBSD8)

Ask for help regarding any technical issue or report any bug or OS independent issues.
Post Reply
Posts: 1
Joined: Wed Oct 21, 2009 2:19 am

wait.h not found error in common/core.c (FreeBSD8)

Post by FBSDgeek » Wed Oct 21, 2009 2:52 am

Just a note for anyone installing the eathena server on FreeBSD. (8-RC1 in my case).

When running gmake, if you see errors like: :evil:

core.c:10:18: error: wait.h: No such file or directory
core.c: In function 'sig_proc':
core.c:54: warning: implicit declaration of function 'wait'
gmake[1]: *** [core.o] Error 1

edit ./src/common/core.c
change #include <wait.h>
to #include <sys/wait.h>

rerun gmake

Worked for me. :wink:
Post Reply