aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorGarance A Drosehn <gad@FreeBSD.org>2002-04-25 07:41:49 +0000
committerGarance A Drosehn <gad@FreeBSD.org>2002-04-25 07:41:49 +0000
commitf16d68d06e6aba993e4b65e12938ba85716a4f44 (patch)
tree87993cc949902774f8919ba581bb7918b09f89bb /usr.sbin
parentd4d6aee5a066240dcfd595031f4ebf33db41b1f9 (diff)
Notes
Diffstat (limited to 'usr.sbin')
-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 36b8c5779891..04caa8caeeee 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>