summaryrefslogtreecommitdiffstats
path: root/usr.sbin/lpr/lpr
diff options
context:
space:
mode:
authorgad <gad@FreeBSD.org>2002-04-25 07:41:49 +0000
committergad <gad@FreeBSD.org>2002-04-25 07:41:49 +0000
commit65f1d89e919b31ff7c64e739575aee6690680e9e (patch)
tree87993cc949902774f8919ba581bb7918b09f89bb /usr.sbin/lpr/lpr
parent99bf18775ecdf71c0a8a2c322e14cd90ba68bd09 (diff)
downloadFreeBSD-src-65f1d89e919b31ff7c64e739575aee6690680e9e.zip
FreeBSD-src-65f1d89e919b31ff7c64e739575aee6690680e9e.tar.gz
Include <netinet/in.h> to squash one more compile-time warning.
MFC after: 3 days
Diffstat (limited to 'usr.sbin/lpr/lpr')
-rw-r--r--usr.sbin/lpr/lpr/lpr.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/usr.sbin/lpr/lpr/lpr.c b/usr.sbin/lpr/lpr/lpr.c
index 36b8c57..04caa8c 100644
--- a/usr.sbin/lpr/lpr/lpr.c
+++ b/usr.sbin/lpr/lpr/lpr.c
@@ -61,6 +61,8 @@ static const char rcsid[] =
#include <sys/param.h>
#include <sys/stat.h>
+#include <netinet/in.h> /* N_BADMAG uses ntohl() */
+
#include <dirent.h>
#include <fcntl.h>
#include <a.out.h>
OpenPOWER on IntegriCloud