diff options
author | mike <mike@FreeBSD.org> | 2002-04-20 20:09:29 +0000 |
---|---|---|
committer | mike <mike@FreeBSD.org> | 2002-04-20 20:09:29 +0000 |
commit | 70fe01a98da229fc385a4cce59f8b77857ed2a69 (patch) | |
tree | 053e92e28060903ac67dae64d0b016c9714aa312 /usr.bin/ldd | |
parent | b280d9f11111cae9004616f4fd4210f1aef5078b (diff) | |
download | FreeBSD-src-70fe01a98da229fc385a4cce59f8b77857ed2a69.zip FreeBSD-src-70fe01a98da229fc385a4cce59f8b77857ed2a69.tar.gz |
Include <arpa/inet.h> for prototype of ntohl() used in the N_BADMAG()
macro.
Diffstat (limited to 'usr.bin/ldd')
-rw-r--r-- | usr.bin/ldd/ldd.c | 1 | ||||
-rw-r--r-- | usr.bin/ldd/sods.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/usr.bin/ldd/ldd.c b/usr.bin/ldd/ldd.c index da44c5c..4ef8f4d 100644 --- a/usr.bin/ldd/ldd.c +++ b/usr.bin/ldd/ldd.c @@ -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> diff --git a/usr.bin/ldd/sods.c b/usr.bin/ldd/sods.c index 8b9716d..748d340 100644 --- a/usr.bin/ldd/sods.c +++ b/usr.bin/ldd/sods.c @@ -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> |