summaryrefslogtreecommitdiffstats
path: root/usr.bin/hexdump
diff options
context:
space:
mode:
authordelphij <delphij@FreeBSD.org>2009-12-13 03:14:06 +0000
committerdelphij <delphij@FreeBSD.org>2009-12-13 03:14:06 +0000
commit0842b7d53ffede64468e775f5c79965e3d9e48ae (patch)
treeec0e60a06ede057b5afe3f1a6eccc05036f5c424 /usr.bin/hexdump
parent7510724a04e34e0c4cdf7551cd6e74fb053368e8 (diff)
downloadFreeBSD-src-0842b7d53ffede64468e775f5c79965e3d9e48ae.zip
FreeBSD-src-0842b7d53ffede64468e775f5c79965e3d9e48ae.tar.gz
Revert most part of 200420 as requested, as more review and polish is
needed.
Diffstat (limited to 'usr.bin/hexdump')
-rw-r--r--usr.bin/hexdump/display.c1
-rw-r--r--usr.bin/hexdump/hexdump.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/usr.bin/hexdump/display.c b/usr.bin/hexdump/display.c
index 3d6a6ea..db04c49 100644
--- a/usr.bin/hexdump/display.c
+++ b/usr.bin/hexdump/display.c
@@ -47,6 +47,7 @@ __FBSDID("$FreeBSD$");
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
+#include <unistd.h>
#include "hexdump.h"
enum _vflag vflag = FIRST;
diff --git a/usr.bin/hexdump/hexdump.c b/usr.bin/hexdump/hexdump.c
index a035531..2ed7c4b 100644
--- a/usr.bin/hexdump/hexdump.c
+++ b/usr.bin/hexdump/hexdump.c
@@ -48,6 +48,7 @@ __FBSDID("$FreeBSD$");
#include <sys/types.h>
#include <locale.h>
#include <stdlib.h>
+#include <stdio.h>
#include <string.h>
#include "hexdump.h"
OpenPOWER on IntegriCloud