diff -Naur gloox-1.0/configure.ac gloox-1.0-haiku/configure.ac
|
old
|
new
|
|
| 298 | 298 | |
| 299 | 299 | dnl Checks for header files. |
| 300 | 300 | AC_HEADER_STDC |
| 301 | | AC_CHECK_HEADERS(unistd.h strings.h errno.h arpa/nameser.h) |
| 302 | | AC_CHECK_FUNCS(setsockopt,,[AC_CHECK_LIB(socket,setsockopt)]) |
| | 301 | AC_CHECK_HEADERS(unistd.h wchar.h string.h cstring.h strings.h errno.h arpa/nameser.h) |
| | 302 | AC_CHECK_FUNCS(setsockopt,,[AC_CHECK_LIB(network,setsockopt)]) |
| 303 | 303 | |
| 304 | 304 | dnl Checks for typedefs, structures, and compiler characteristics. |
| 305 | 305 | AC_C_CONST |
diff -Naur gloox-1.0/src/connectiontcpbase.cpp gloox-1.0-haiku/src/connectiontcpbase.cpp
|
old
|
new
|
|
| 10 | 10 | This software is distributed without any warranty. |
| 11 | 11 | */ |
| 12 | 12 | |
| | 13 | #if defined HAVE_STRING_H |
| | 14 | #include <string.h> |
| | 15 | #endif |
| | 16 | |
| | 17 | #if defined HAVE_WCHAR_H |
| | 18 | #include <wchar.h> |
| | 19 | #endif |
| 13 | 20 | |
| | 21 | #if __GNUC__ > 3 |
| | 22 | #include <cstring> |
| | 23 | #endif |
| 14 | 24 | |
| 15 | 25 | #include "gloox.h" |
| 16 | 26 | |
diff -Naur gloox-1.0/src/connectiontcpserver.cpp gloox-1.0-haiku/src/connectiontcpserver.cpp
|
old
|
new
|
|
| 10 | 10 | This software is distributed without any warranty. |
| 11 | 11 | */ |
| 12 | 12 | |
| | 13 | #if defined HAVE_STRING_H |
| | 14 | #include <string.h> |
| | 15 | #endif |
| | 16 | |
| | 17 | #if defined HAVE_WCHAR_H |
| | 18 | #include <wchar.h> |
| | 19 | #endif |
| 13 | 20 | |
| | 21 | #if __GNUC__ > 3 |
| | 22 | #include <cstring> |
| | 23 | #endif |
| 14 | 24 | |
| 15 | 25 | #include "gloox.h" |
| 16 | 26 | |
diff -Naur gloox-1.0/src/dns.cpp gloox-1.0-haiku/src/dns.cpp
|
old
|
new
|
|
| 10 | 10 | This software is distributed without any warranty. |
| 11 | 11 | */ |
| 12 | 12 | |
| | 13 | #if defined HAVE_STRING_H |
| | 14 | #include <string.h> |
| | 15 | #endif |
| | 16 | |
| | 17 | #if defined HAVE_WCHAR_H |
| | 18 | #include <wchar.h> |
| | 19 | #endif |
| | 20 | |
| | 21 | #if __GNUC__ > 3 |
| | 22 | #include <cstring> |
| | 23 | #endif |
| 13 | 24 | |
| 14 | 25 | #include "config.h" |
| 15 | 26 | |