slackbuilds_ponce/network/centerim/gcc47.patch
Matteo Bernardini 43c6222a6b network/centerim: Added a patch for gcc-4.7.x.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
2012-09-16 19:44:41 -04:00

11 lines
505 B
Diff

diff -Naur centerim-4.22.10.orig/libicq2000/libicq2000/sigslot.h centerim-4.22.10/libicq2000/libicq2000/sigslot.h
--- centerim-4.22.10.orig/libicq2000/libicq2000/sigslot.h 2010-10-26 19:19:06.000000000 +0200
+++ centerim-4.22.10/libicq2000/libicq2000/sigslot.h 2012-09-15 21:46:10.469007313 +0200
@@ -84,6 +84,7 @@
#include <set>
#include <list>
+#include <unistd.h>
#if defined(SIGSLOT_PURE_ISO) || (!defined(WIN32) && !defined(SIGSLOT_USE_POSIX_THREADS))
# define _SIGSLOT_SINGLE_THREADED