diff options
author | bcook <> | 2015-12-28 14:17:47 +0000 |
---|---|---|
committer | bcook <> | 2015-12-28 14:17:47 +0000 |
commit | 2c690828baded2d6a46062c101e42398001bf7ca (patch) | |
tree | 9127bed7a6ae3bd8f5da8ac95ffa51aed61e790e | |
parent | 1fed4e5dbe29f2dcf07fef5a6522c0d6c0f59282 (diff) | |
download | openbsd-2c690828baded2d6a46062c101e42398001bf7ca.tar.gz openbsd-2c690828baded2d6a46062c101e42398001bf7ca.tar.bz2 openbsd-2c690828baded2d6a46062c101e42398001bf7ca.zip |
include time.h over sys/time.h for ctime(3)
ok beck@
-rw-r--r-- | src/usr.bin/nc/netcat.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/usr.bin/nc/netcat.c b/src/usr.bin/nc/netcat.c index 6ffba5c945..2a097b239b 100644 --- a/src/usr.bin/nc/netcat.c +++ b/src/usr.bin/nc/netcat.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: netcat.c,v 1.148 2015/12/17 19:30:28 mmcc Exp $ */ | 1 | /* $OpenBSD: netcat.c,v 1.149 2015/12/28 14:17:47 bcook Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2001 Eric Jackson <ericj@monkey.org> | 3 | * Copyright (c) 2001 Eric Jackson <ericj@monkey.org> |
4 | * Copyright (c) 2015 Bob Beck. All rights reserved. | 4 | * Copyright (c) 2015 Bob Beck. All rights reserved. |
@@ -34,7 +34,6 @@ | |||
34 | 34 | ||
35 | #include <sys/types.h> | 35 | #include <sys/types.h> |
36 | #include <sys/socket.h> | 36 | #include <sys/socket.h> |
37 | #include <sys/time.h> | ||
38 | #include <sys/uio.h> | 37 | #include <sys/uio.h> |
39 | #include <sys/un.h> | 38 | #include <sys/un.h> |
40 | 39 | ||
@@ -53,6 +52,7 @@ | |||
53 | #include <stdio.h> | 52 | #include <stdio.h> |
54 | #include <stdlib.h> | 53 | #include <stdlib.h> |
55 | #include <string.h> | 54 | #include <string.h> |
55 | #include <time.h> | ||
56 | #include <unistd.h> | 56 | #include <unistd.h> |
57 | #include <tls.h> | 57 | #include <tls.h> |
58 | #include "atomicio.h" | 58 | #include "atomicio.h" |