* Fixed build under BeOS/Dano (only tried the latter, though).

* Does anybody know why HaikuBuildCompatibility.h is not included for tools when
  compiled on BeOS/Dano?


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21688 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler
2007-07-23 00:15:45 +00:00
parent 6a05ab0186
commit 965b10ccaa
2 changed files with 9 additions and 3 deletions
+1 -1
View File
@@ -4,5 +4,5 @@ UsePrivateHeaders kernel ;
BuildPlatformMain remote_disk_server
: remote_disk_server.cpp
: $(HOST_LIBSUPC++)
: $(HOST_LIBSUPC++) $(NETWORK_LIBS)
;
@@ -1,5 +1,5 @@
/*
* Copyright 2005, Ingo Weinhold <[email protected]>.
* Copyright 2005-2007, Ingo Weinhold <[email protected]>.
* All rights reserved. Distributed under the terms of the MIT License.
*/
@@ -8,7 +8,6 @@
#include <fcntl.h>
#include <stdio.h>
#include <stdlib.h>
#include <stdint.h>
#include <string.h>
#include <unistd.h>
#include <netinet/in.h>
@@ -17,6 +16,13 @@
#include <boot/net/RemoteDiskDefs.h>
#if defined(__BEOS__) && !defined(__HAIKU__)
# include <limits.h>
typedef int socklen_t;
#else
# include <stdint.h>
#endif
#if __BYTE_ORDER == __LITTLE_ENDIAN