libgloox Haiku buildfixes.

This commit is contained in:
Barrett17 2015-06-24 15:56:20 +00:00
parent 7a11cae117
commit 05633562d6
2 changed files with 5 additions and 0 deletions

View File

@ -10,6 +10,7 @@ local sources =
adhoc.cpp adhoc.cpp
amp.cpp amp.cpp
annotations.cpp annotations.cpp
atomicrefcount.cpp
attention.cpp attention.cpp
base64.cpp base64.cpp
bookmarkstorage.cpp bookmarkstorage.cpp

View File

@ -45,6 +45,10 @@
# include <windns.h> # include <windns.h>
#endif #endif
#ifdef __HAIKU__
#include <string.h>
#endif
#define SRV_COST (RRFIXEDSZ+0) #define SRV_COST (RRFIXEDSZ+0)
#define SRV_WEIGHT (RRFIXEDSZ+2) #define SRV_WEIGHT (RRFIXEDSZ+2)
#define SRV_PORT (RRFIXEDSZ+4) #define SRV_PORT (RRFIXEDSZ+4)