aboutsummaryrefslogtreecommitdiff
path: root/networking/ipcalc.c
diff options
context:
space:
mode:
Diffstat (limited to 'networking/ipcalc.c')
-rw-r--r--networking/ipcalc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/networking/ipcalc.c b/networking/ipcalc.c
index 63ce99ffe..a39ad1a67 100644
--- a/networking/ipcalc.c
+++ b/networking/ipcalc.c
@@ -12,12 +12,12 @@
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 14
15#include "busybox.h"
16#include <ctype.h>
17#include <getopt.h> 15#include <getopt.h>
18#include <sys/socket.h> 16#include <sys/socket.h>
19#include <arpa/inet.h> 17#include <arpa/inet.h>
20 18
19#include "libbb.h"
20
21#define CLASS_A_NETMASK ntohl(0xFF000000) 21#define CLASS_A_NETMASK ntohl(0xFF000000)
22#define CLASS_B_NETMASK ntohl(0xFFFF0000) 22#define CLASS_B_NETMASK ntohl(0xFFFF0000)
23#define CLASS_C_NETMASK ntohl(0xFFFFFF00) 23#define CLASS_C_NETMASK ntohl(0xFFFFFF00)