aboutsummaryrefslogtreecommitdiff
path: root/networking/ipcalc.c
diff options
context:
space:
mode:
Diffstat (limited to 'networking/ipcalc.c')
-rw-r--r--networking/ipcalc.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/networking/ipcalc.c b/networking/ipcalc.c
index 17b216354..265009ad8 100644
--- a/networking/ipcalc.c
+++ b/networking/ipcalc.c
@@ -11,11 +11,9 @@
11 * 11 *
12 * Licensed under GPLv2 or later, see file LICENSE in this tarball for details. 12 * Licensed under GPLv2 or later, see file LICENSE in this tarball for details.
13 */ 13 */
14
15#include <sys/socket.h>
16#include <arpa/inet.h>
17
18#include "libbb.h" 14#include "libbb.h"
15/* After libbb.h, because on some systems it needs other includes */
16#include <arpa/inet.h>
19 17
20#define CLASS_A_NETMASK ntohl(0xFF000000) 18#define CLASS_A_NETMASK ntohl(0xFF000000)
21#define CLASS_B_NETMASK ntohl(0xFFFF0000) 19#define CLASS_B_NETMASK ntohl(0xFFFF0000)