summaryrefslogtreecommitdiff
path: root/networking/ipcalc.c
diff options
context:
space:
mode:
authorDan Fandrich2010-06-18 22:37:42 -0700
committerDenys Vlasenko2010-06-19 20:03:15 +0200
commitfdd7b566ecdc174907f38d9389b28ba842d2b4bf (patch)
tree38e5f9a61da8c6ed5155d3542fd0d56aaf157714 /networking/ipcalc.c
parenteb08b6ed5cc7bb764658cd7a3b829e2b3aac4abc (diff)
downloadbusybox-fdd7b566ecdc174907f38d9389b28ba842d2b4bf.zip
busybox-fdd7b566ecdc174907f38d9389b28ba842d2b4bf.tar.gz
A few minor portability improvements
Signed-off-by: Dan Fandrich <dan@coneharvesters.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
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 17b2163..87f31fd 100644
--- a/networking/ipcalc.c
+++ b/networking/ipcalc.c
@@ -12,11 +12,11 @@
* Licensed under GPLv2 or later, see file LICENSE in this tarball for details.
*/
+#include "libbb.h"
+
#include <sys/socket.h>
#include <arpa/inet.h>
-#include "libbb.h"
-
#define CLASS_A_NETMASK ntohl(0xFF000000)
#define CLASS_B_NETMASK ntohl(0xFFFF0000)
#define CLASS_C_NETMASK ntohl(0xFFFFFF00)