Fixed build on R5.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20081 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Ingo Weinhold 2007-02-06 16:37:36 +00:00
parent 402d77f655
commit 6b533670b9
1 changed files with 6 additions and 1 deletions

View File

@ -14,7 +14,12 @@
#include <algorithm>
#include <string>
#include <arpa/inet.h>
// We use htonl(), which is defined in <ByteOrder.h> on BeOS R5.
#ifdef HAIKU_HOST_PLATFORM_BEOS
#include <ByteOrder.h>
#else
#include <arpa/inet.h>
#endif
using std::string;