summaryrefslogtreecommitdiff
path: root/devel/poco/patches/patch-ab
blob: 6a05a46cfea238d21f683e6b38364928b525173c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
$NetBSD: patch-ab,v 1.2 2016/01/16 12:15:12 ryoon Exp $

# include NetBSD with the HP-UX portion of the event handling

--- Foundation/src/NamedEvent_UNIX.cpp.orig	2015-08-04 05:20:55.000000000 +0000
+++ Foundation/src/NamedEvent_UNIX.cpp
@@ -41,7 +41,7 @@ namespace Poco {
 		unsigned short int* array;
 		struct seminfo*     __buf;
 	};
-#elif (POCO_OS == POCO_OS_HPUX)
+#elif (POCO_OS == POCO_OS_HPUX) || (POCO_OS == POCO_OS_NET_BSD)
 	union semun
 	{
 		int              val;