diff options
| author | guenther <> | 2017-02-03 08:08:15 +0000 |
|---|---|---|
| committer | guenther <> | 2017-02-03 08:08:15 +0000 |
| commit | 029b15cc9cd252b331360ebf706dc808dc6e3135 (patch) | |
| tree | b9c798b16d7340a4a72a06f1c8bf90de3aac8ae5 /src | |
| parent | cb039b0846f6ed24b1049a957d89ace8b0c9c1d7 (diff) | |
| download | openbsd-029b15cc9cd252b331360ebf706dc808dc6e3135.tar.gz openbsd-029b15cc9cd252b331360ebf706dc808dc6e3135.tar.bz2 openbsd-029b15cc9cd252b331360ebf706dc808dc6e3135.zip | |
Don't use <sys/param.h> from userland without cause. Sort <sys/*>
before other includes per style(9) while we're here.
ok florian@ bcook@ jsing@ beck@
Diffstat (limited to '')
| -rw-r--r-- | src/usr.sbin/ocspcheck/http.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/usr.sbin/ocspcheck/http.c b/src/usr.sbin/ocspcheck/http.c index 9aef1aac8d..456840b391 100644 --- a/src/usr.sbin/ocspcheck/http.c +++ b/src/usr.sbin/ocspcheck/http.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $Id: http.c,v 1.7 2017/02/01 18:54:37 beck Exp $ */ | 1 | /* $Id: http.c,v 1.8 2017/02/03 08:08:15 guenther Exp $ */ |
| 2 | /* | 2 | /* |
| 3 | * Copyright (c) 2016 Kristaps Dzonsons <kristaps@bsd.lv> | 3 | * Copyright (c) 2016 Kristaps Dzonsons <kristaps@bsd.lv> |
| 4 | * | 4 | * |
| @@ -15,10 +15,11 @@ | |||
| 15 | * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. | 15 | * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. |
| 16 | */ | 16 | */ |
| 17 | 17 | ||
| 18 | #include <sys/types.h> | ||
| 19 | #include <sys/socket.h> | ||
| 20 | |||
| 18 | #include <arpa/inet.h> | 21 | #include <arpa/inet.h> |
| 19 | #include <netinet/in.h> | 22 | #include <netinet/in.h> |
| 20 | #include <sys/socket.h> | ||
| 21 | #include <sys/param.h> | ||
| 22 | 23 | ||
| 23 | #include <ctype.h> | 24 | #include <ctype.h> |
| 24 | #include <err.h> | 25 | #include <err.h> |
