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: 21 Oct 2009, 02:19

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

Post by FBSDgeek » 21 Oct 2009, 02:52

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