summaryrefslogtreecommitdiffstats
path: root/fortune
diff options
context:
space:
mode:
authorjsm <jsm@NetBSD.org>2004-01-27 20:25:07 +0000
committerjsm <jsm@NetBSD.org>2004-01-27 20:25:07 +0000
commitb609349531f66a4db964252f75dc56e899a8e6f3 (patch)
tree080719f3beb73c8a387d093f36ffe83d146715e5 /fortune
parent9003c8750634e49ce28e19c1e8a66e3d0b750bec (diff)
downloadbsdgames-darwin-b609349531f66a4db964252f75dc56e899a8e6f3.tar.gz
bsdgames-darwin-b609349531f66a4db964252f75dc56e899a8e6f3.tar.zst
bsdgames-darwin-b609349531f66a4db964252f75dc56e899a8e6f3.zip
Include <sys/endian.h> instead of <machine/endian.h>. Include
<stdlib.h>.
Diffstat (limited to 'fortune')
-rw-r--r--fortune/unstr/unstr.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/fortune/unstr/unstr.c b/fortune/unstr/unstr.c
index a79333f4..8f1b2f8c 100644
--- a/fortune/unstr/unstr.c
+++ b/fortune/unstr/unstr.c
@@ -1,4 +1,4 @@
-/* $NetBSD: unstr.c,v 1.8 2003/08/07 09:37:15 agc Exp $ */
+/* $NetBSD: unstr.c,v 1.9 2004/01/27 20:25:07 jsm Exp $ */
/*-
* Copyright (c) 1991, 1993
@@ -42,7 +42,7 @@ __COPYRIGHT("@(#) Copyright (c) 1991, 1993\n\
#if 0
static char sccsid[] = "@(#)unstr.c 8.1 (Berkeley) 5/31/93";
#else
-__RCSID("$NetBSD: unstr.c,v 1.8 2003/08/07 09:37:15 agc Exp $");
+__RCSID("$NetBSD: unstr.c,v 1.9 2004/01/27 20:25:07 jsm Exp $");
#endif
#endif /* not lint */
@@ -61,10 +61,11 @@ __RCSID("$NetBSD: unstr.c,v 1.8 2003/08/07 09:37:15 agc Exp $");
# include <sys/types.h>
# include <sys/param.h>
-# include <machine/endian.h>
+# include <sys/endian.h>
# include <ctype.h>
# include <err.h>
# include <stdio.h>
+# include <stdlib.h>
# include <string.h>
# include "strfile.h"