add endian.h for htonl, ntohl.
authorKeith Bostic <bostic@ucbvax.Berkeley.EDU>
Sat, 16 Dec 1989 03:42:21 +0000 (19:42 -0800)
committerKeith Bostic <bostic@ucbvax.Berkeley.EDU>
Sat, 16 Dec 1989 03:42:21 +0000 (19:42 -0800)
SCCS-vsn: games/fortune/unstr/unstr.c 5.6

usr/src/games/fortune/unstr/unstr.c

index fb8ef5c..6b459d6 100644 (file)
@@ -25,7 +25,7 @@ char copyright[] =
 #endif /* not lint */
 
 #ifndef lint
 #endif /* not lint */
 
 #ifndef lint
-static char sccsid[] = "@(#)unstr.c    5.5 (Berkeley) %G%";
+static char sccsid[] = "@(#)unstr.c    5.6 (Berkeley) %G%";
 #endif /* not lint */
 
 /*
 #endif /* not lint */
 
 /*
@@ -41,7 +41,7 @@ static char sccsid[] = "@(#)unstr.c   5.5 (Berkeley) %G%";
  *     Ken Arnold              Aug 13, 1978
  */
 
  *     Ken Arnold              Aug 13, 1978
  */
 
-# include      <sys/types.h>
+# include      <machine/endian.h>
 # include      <sys/param.h>
 # include      "strfile.h"
 # include      <stdio.h>
 # include      <sys/param.h>
 # include      "strfile.h"
 # include      <stdio.h>