diff options
author | guenther <> | 2017-02-03 08:08:15 +0000 |
---|---|---|
committer | guenther <> | 2017-02-03 08:08:15 +0000 |
commit | 19ee004d62182b3fe368672b92b1d3ae5d8c579c (patch) | |
tree | b9c798b16d7340a4a72a06f1c8bf90de3aac8ae5 /src/usr.sbin/ocspcheck | |
parent | 363bb87832fab18b30889d491fe1035ccb8de7ca (diff) | |
download | openbsd-19ee004d62182b3fe368672b92b1d3ae5d8c579c.tar.gz openbsd-19ee004d62182b3fe368672b92b1d3ae5d8c579c.tar.bz2 openbsd-19ee004d62182b3fe368672b92b1d3ae5d8c579c.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 'src/usr.sbin/ocspcheck')
-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> |