Include <arpa/inet.h> for prototype of ntohl() used in the N_BADMAG()

macro.
This commit is contained in:
Mike Barcroft 2002-04-20 20:09:29 +00:00
parent 04961ff8be
commit a2cfdda8d7
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=95153
2 changed files with 2 additions and 0 deletions

View File

@ -35,6 +35,7 @@ static const char rcsid[] =
#include <sys/wait.h>
#include <machine/elf.h>
#include <arpa/inet.h>
#include <a.out.h>
#include <dlfcn.h>
#include <err.h>

View File

@ -28,6 +28,7 @@ static const char rcsid[] =
"$FreeBSD$";
#endif /* not lint */
#include <arpa/inet.h>
#include <assert.h>
#include <ctype.h>
#include <err.h>