blob: 861eb4d585af2b66c992f90a1b239a96cfaac2b9 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
--- libpconn/PConnection_net.c Mon Nov 19 18:08:06 2001
+++ libpconn/PConnection_net.c Thu Dec 26 08:02:24 2002
@@ -11,5 +11,5 @@
#include <netdb.h> /* For getservbyname() */
#include <string.h> /* For memset() */
-#if HAVE_INET_NTOP
+#if HAVE_INET_NTOP && !defined(__FreeBSD__)
# include <arpa/nameser.h> /* Solaris's <resolv.h> requires this */
# include <resolv.h> /* For inet_ntop() under Solaris */
--- src/coldsync.c Wed Nov 28 16:48:44 2001
+++ src/coldsync.c Thu Dec 26 08:26:47 2002
@@ -8,2 +8,5 @@
*/
+#ifdef __FreeBSD__
+# define _POSIX_C_SOURCE 200112
+#endif
#include "config.h"
|