blob: 0f77ed4199e6aa8b3efaf2ff5ff549f760b52c32 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
$NetBSD: patch-extras_immodules_common_scim-bridge-output.h,v 1.1 2012/09/26 08:17:00 jperkin Exp $
* alloca.h is required for alloca(3C) on Solaris.
* Not all systems provide MSG_NOSIGNAL.
--- extras/immodules/common/scim-bridge-output.h.orig 2012-06-13 15:22:28.000000000 +0000
+++ extras/immodules/common/scim-bridge-output.h 2012-09-26 07:56:02.073082321 +0000
@@ -28,6 +28,14 @@
#include "scim-bridge.h"
#include "scim-bridge-debug.h"
+#ifdef __sun
+#include <alloca.h>
+#endif
+
+#ifndef MSG_NOSIGNAL
+#define MSG_NOSIGNAL 0
+#endif
+
#ifdef __cplusplus
extern "C"
{
|