A few minor portability improvements
Signed-off-by: Dan Fandrich <dan@coneharvesters.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
committed by
Denys Vlasenko
parent
eb08b6ed5c
commit
fdd7b566ec
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user