libkernelppp: Use arpa/inet.h for htons macros

Signed-off-by: Jaroslaw Pelczar <[email protected]>
Change-Id: I6a9c8ef664d266b4d720fcf85525e73d82e6bd43
Reviewed-on: https://review.haiku-os.org/c/haiku/+/1760
Reviewed-by: waddlesplash <[email protected]>
This commit is contained in:
Jaroslaw Pelczar
2019-08-30 14:02:35 +00:00
committed by waddlesplash
parent 47d568796d
commit 7e66a28740
3 changed files with 4 additions and 0 deletions
@@ -16,6 +16,8 @@
#include <KPPPConfigurePacket.h>
#include <KPPPInterface.h>
#include <arpa/inet.h>
/*! \brief Constructor.
@@ -23,6 +23,7 @@
// void (KernelExport.h) and once with int (stdio.h).
#include <cstdio>
#include <cstring>
#include <arpa/inet.h>
#include <ByteOrder.h>
#include <net_buffer.h>
@@ -22,6 +22,7 @@
#include <KPPPUtils.h>
#include <net/if.h>
#include <arpa/inet.h>
#include <ByteOrder.h>
#include <net_buffer.h>