diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 2006-01-23 17:29:23 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 2006-01-23 17:29:23 +0000 |
commit | 888d9410ad9654c61ca51425ca1c8430f4243c31 (patch) | |
tree | 6851954952469a0b8b90797f4f0c44c1bcbce15a /usr.bin | |
parent | 9ddfa170a43b51701a0cc80ef3067472484d9603 (diff) |
Include <sys/param.h> instead of <sys/types.h> so we get MAXHOSTNAMELEN
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/cdio/cddb.c | 4 | ||||
-rw-r--r-- | usr.bin/finger/net.c | 6 | ||||
-rw-r--r-- | usr.bin/sup/src/supscan.c | 4 | ||||
-rw-r--r-- | usr.bin/tftp/main.c | 6 |
4 files changed, 10 insertions, 10 deletions
diff --git a/usr.bin/cdio/cddb.c b/usr.bin/cdio/cddb.c index 847516a2cf7..9cf1e91656e 100644 --- a/usr.bin/cdio/cddb.c +++ b/usr.bin/cdio/cddb.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cddb.c,v 1.10 2006/01/17 00:56:04 aaron Exp $ */ +/* $OpenBSD: cddb.c,v 1.11 2006/01/23 17:29:22 millert Exp $ */ /* * Copyright (c) 2002 Marc Espie. * @@ -24,7 +24,7 @@ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -#include <sys/types.h> +#include <sys/param.h> #include <sys/socket.h> #include <netinet/in.h> #include <sys/cdio.h> diff --git a/usr.bin/finger/net.c b/usr.bin/finger/net.c index 75ab36a084a..73b5e23bec2 100644 --- a/usr.bin/finger/net.c +++ b/usr.bin/finger/net.c @@ -1,4 +1,4 @@ -/* $OpenBSD: net.c,v 1.10 2004/03/15 02:50:29 tedu Exp $ */ +/* $OpenBSD: net.c,v 1.11 2006/01/23 17:29:22 millert Exp $ */ /* * Copyright (c) 1989 The Regents of the University of California. @@ -34,10 +34,10 @@ #ifndef lint /*static char sccsid[] = "from: @(#)net.c 5.5 (Berkeley) 6/1/90";*/ -static const char rcsid[] = "$OpenBSD: net.c,v 1.10 2004/03/15 02:50:29 tedu Exp $"; +static const char rcsid[] = "$OpenBSD: net.c,v 1.11 2006/01/23 17:29:22 millert Exp $"; #endif /* not lint */ -#include <sys/types.h> +#include <sys/param.h> #include <sys/socket.h> #include <netinet/in.h> #include <arpa/inet.h> diff --git a/usr.bin/sup/src/supscan.c b/usr.bin/sup/src/supscan.c index e70872fde80..cfde90008e8 100644 --- a/usr.bin/sup/src/supscan.c +++ b/usr.bin/sup/src/supscan.c @@ -1,4 +1,4 @@ -/* $OpenBSD: supscan.c,v 1.13 2002/02/19 19:39:39 millert Exp $ */ +/* $OpenBSD: supscan.c,v 1.14 2006/01/23 17:29:22 millert Exp $ */ /* * Copyright (c) 1992 Carnegie Mellon University @@ -117,7 +117,7 @@ #include <setjmp.h> #include <stdarg.h> #include <sys/time.h> -#include <sys/types.h> +#include <sys/param.h> #include "supcdefs.h" #include "supextern.h" diff --git a/usr.bin/tftp/main.c b/usr.bin/tftp/main.c index f29402bc757..dec04278a25 100644 --- a/usr.bin/tftp/main.c +++ b/usr.bin/tftp/main.c @@ -1,4 +1,4 @@ -/* $OpenBSD: main.c,v 1.22 2004/02/19 08:43:37 mpech Exp $ */ +/* $OpenBSD: main.c,v 1.23 2006/01/23 17:29:22 millert Exp $ */ /* $NetBSD: main.c,v 1.6 1995/05/21 16:54:10 mycroft Exp $ */ /* @@ -40,7 +40,7 @@ static const char copyright[] = #if 0 static char sccsid[] = "@(#)main.c 8.1 (Berkeley) 6/6/93"; #endif -static const char rcsid[] = "$OpenBSD: main.c,v 1.22 2004/02/19 08:43:37 mpech Exp $"; +static const char rcsid[] = "$OpenBSD: main.c,v 1.23 2006/01/23 17:29:22 millert Exp $"; #endif /* not lint */ /* Many bug fixes are from Jim Guyton <guyton@rand-unix> */ @@ -48,7 +48,7 @@ static const char rcsid[] = "$OpenBSD: main.c,v 1.22 2004/02/19 08:43:37 mpech E /* * TFTP User Program -- Command Interface. */ -#include <sys/types.h> +#include <sys/param.h> #include <sys/socket.h> #include <sys/file.h> |