summaryrefslogtreecommitdiff
path: root/chat/prosody/patches/patch-ad
blob: 1e53f1699ba3902264e1de93ecbb545243327c35 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
$NetBSD: patch-ad,v 1.2 2011/06/06 14:41:48 schnoebe Exp $

Include <sys/param.h> when on UNIX

--- util-src/signal.c.orig	2011-06-03 15:31:34.000000000 +0000
+++ util-src/signal.c
@@ -29,6 +29,10 @@
 #include <signal.h>
 #include <stdlib.h>
 
+#ifdef __unix__
+#include <sys/param.h>
+#endif
+
 #include "lua.h"
 #include "lauxlib.h"