mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
git-svn-id: https://svn.macports.org/repository/macports/trunk/dports@104256 d073be05-634f-4543-b044-5fe20cf6d1d6
25 lines
507 B
Diff
25 lines
507 B
Diff
--- src/socklib/ipv6sock.cc.orig 2012-10-27 13:50:06.000000000 +0200
|
|
+++ src/socklib/ipv6sock.cc 2013-02-06 14:56:03.000000000 +0100
|
|
@@ -23,6 +23,12 @@
|
|
*
|
|
*********************************************************************/
|
|
|
|
+#include "config.h"
|
|
+
|
|
+#ifndef _POSIX_SOURCE
|
|
+# define _POSIX_SOURCE 1
|
|
+#endif
|
|
+
|
|
#include <sys/types.h>
|
|
#include <netdb.h>
|
|
#include <sys/socket.h>
|
|
@@ -30,6 +36,8 @@
|
|
#include <stdlib.h>
|
|
#include <string.h>
|
|
|
|
+#include <strings.h>
|
|
+
|
|
extern "C" {
|
|
#include "log.h"
|
|
}
|