Xinqi Bao's Git
projects
/
slstatus.git
/ diff
summary
|
log
|
commit
|
diff
|
tree
raw
|
patch
|
inline
| side by side (parent:
2bd581a
)
ip: Sort headers alphabetically
author
Aaron Marcher <
[email protected]
>
Wed, 2 May 2018 06:21:32 +0000
(08:21 +0200)
committer
Aaron Marcher <
[email protected]
>
Wed, 2 May 2018 06:21:32 +0000
(08:21 +0200)
components/ip.c
diff
|
blob
|
history
diff --git
a/components/ip.c
b/components/ip.c
index
422b448
..
b1f8a05
100644
(file)
--- a/
components/ip.c
+++ b/
components/ip.c
@@
-1,14
+1,13
@@
/* See LICENSE file for copyright and license details. */
/* See LICENSE file for copyright and license details. */
-#if defined(__OpenBSD__)
-#include <sys/types.h>
-#include <sys/socket.h>
-#endif
-
#include <errno.h>
#include <ifaddrs.h>
#include <netdb.h>
#include <stdio.h>
#include <string.h>
#include <errno.h>
#include <ifaddrs.h>
#include <netdb.h>
#include <stdio.h>
#include <string.h>
+#if defined(__OpenBSD__)
+#include <sys/types.h>
+#include <sys/socket.h>
+#endif
#include "../util.h"
#include "../util.h"