summaryrefslogtreecommitdiff
path: root/package/synergy/synergy-1.3.1-exit.patch
blob: 1eb665f55033f22cbf54b0068dd46199c97c2662 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
[PATCH] fix build issue in CArchDaemonUnix

exit() needs #include <stdlib.h> for the prototype.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
---
 lib/arch/CArchDaemonUnix.cpp |    1 +
 1 file changed, 1 insertion(+)

Index: synergy-1.3.1/lib/arch/CArchDaemonUnix.cpp
===================================================================
--- synergy-1.3.1.orig/lib/arch/CArchDaemonUnix.cpp
+++ synergy-1.3.1/lib/arch/CArchDaemonUnix.cpp
@@ -19,6 +19,7 @@
 #include <sys/stat.h>
 #include <fcntl.h>
 #include <errno.h>
+#include <stdlib.h>
 
 //
 // CArchDaemonUnix