summaryrefslogtreecommitdiff
path: root/devel/libpgm/patches/patch-ab
blob: 965295624280b77d0928fd51429c347435b11c7a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
$NetBSD: patch-ab,v 1.1.1.1 2011/12/02 05:25:12 agc Exp $

Quick portability hack

--- include/impl/sockaddr.h	2011/12/02 00:54:52	1.1
+++ include/impl/sockaddr.h	2011/12/02 01:02:03
@@ -34,7 +34,7 @@
 #	include <sys/socket.h>
 #	include <netdb.h>
 #endif
-#ifdef __APPLE__
+#if defined(__APPLE__) || defined(__NetBSD__)
 #	include <pgm/in.h>
 #endif
 #include <pgm/types.h>