diff options
| author | Paul Traina <pst@FreeBSD.org> | 1994-09-22 21:51:49 +0000 |
|---|---|---|
| committer | Paul Traina <pst@FreeBSD.org> | 1994-09-22 21:51:49 +0000 |
| commit | c3a4ccf2fb7a9dfd1f05dfa9866dd4e0f157980a (patch) | |
| tree | 98f3980b7c9350a1c6b25d4ead3d70c9a597ff27 /usr.bin/dig | |
| parent | 1546342f025129a0626f3a204905113e08b60073 (diff) | |
Notes
Diffstat (limited to 'usr.bin/dig')
| -rw-r--r-- | usr.bin/dig/Makefile | 11 | ||||
| -rw-r--r-- | usr.bin/dig/dig.c | 6 |
2 files changed, 14 insertions, 3 deletions
diff --git a/usr.bin/dig/Makefile b/usr.bin/dig/Makefile new file mode 100644 index 000000000000..dd4044d516ae --- /dev/null +++ b/usr.bin/dig/Makefile @@ -0,0 +1,11 @@ +# @(#)Makefile 8.1 (Berkeley) 6/6/93 + +PROG= dig +MAN1= dig.1 +SRCS= dig.c debug.c list.c send.c subr.c + +NSLOOKUP=${.CURDIR}/../../usr.sbin/nslookup +CFLAGS+=-I${NSLOOKUP} +.PATH: ${NSLOOKUP} + +.include <bsd.prog.mk> diff --git a/usr.bin/dig/dig.c b/usr.bin/dig/dig.c index 6ac586511025..ed85b26d2899 100644 --- a/usr.bin/dig/dig.c +++ b/usr.bin/dig/dig.c @@ -1,5 +1,5 @@ #ifndef lint -static char rcsid[] = "$Id: dig.c,v 4.9.1.17 1994/07/19 22:51:24 vixie Exp $"; +static char rcsid[] = "$Id: dig.c,v 1.1.1.1 1994/09/22 21:33:31 pst Exp $"; #endif /* @@ -162,9 +162,9 @@ static char rcsid[] = "$Id: dig.c,v 4.9.1.17 1994/07/19 22:51:24 vixie Exp $"; #include <string.h> #include <setjmp.h> #include <fcntl.h> +#include <stdlib.h> -#include "nslookup/res.h" -#include "../conf/portability.h" +#include "../../usr.sbin/nslookup/res.h" #define PRF_DEF 0x2ff9 #define PRF_MIN 0xA930 |
