freebsd-ports/palm/coldsync/files/patch-in6

18 lines
604 B
Text
Raw Normal View History

--- 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"