124 lines
2.9 KiB
Diff
124 lines
2.9 KiB
Diff
--- synergy-1.3.1/lib/arch/CArchDaemonUnix.cpp
|
|
+++ synergy-1.3.1/lib/arch/CArchDaemonUnix.cpp
|
|
@@ -14,6 +14,7 @@
|
|
|
|
#include "CArchDaemonUnix.h"
|
|
#include "XArchUnix.h"
|
|
+#include <stdlib.h>
|
|
#include <unistd.h>
|
|
#include <sys/types.h>
|
|
#include <sys/stat.h>
|
|
--- synergy-1.3.1/lib/arch/CMultibyte.cpp
|
|
+++ synergy-1.3.1/lib/arch/CMultibyte.cpp
|
|
@@ -19,6 +19,7 @@
|
|
#include "CArch.h"
|
|
#include <limits.h>
|
|
#include <string.h>
|
|
+#include <stdlib.h>
|
|
#if HAVE_LOCALE_H
|
|
# include <locale.h>
|
|
#endif
|
|
--- synergy-1.3.1/lib/base/CStringUtil.cpp
|
|
+++ synergy-1.3.1/lib/base/CStringUtil.cpp
|
|
@@ -16,6 +16,7 @@
|
|
#include "CArch.h"
|
|
#include "common.h"
|
|
#include "stdvector.h"
|
|
+#include <string.h>
|
|
#include <cctype>
|
|
#include <cstdio>
|
|
#include <cstdlib>
|
|
--- synergy-1.3.1/lib/client/CClient.cpp
|
|
+++ synergy-1.3.1/lib/client/CClient.cpp
|
|
@@ -12,6 +12,8 @@
|
|
* GNU General Public License for more details.
|
|
*/
|
|
|
|
+#include <string.h>
|
|
+#include <stdlib.h>
|
|
#include "CClient.h"
|
|
#include "CServerProxy.h"
|
|
#include "CScreen.h"
|
|
--- synergy-1.3.1/lib/client/CserverProxy.cpp
|
|
+++ synergy-1.3.1/lib/client/CServerProxy.cpp
|
|
@@ -12,6 +12,7 @@
|
|
* GNU General Public License for more details.
|
|
*/
|
|
|
|
+#include <string.h>
|
|
#include "CServerProxy.h"
|
|
#include "CClient.h"
|
|
#include "CClipboard.h"
|
|
--- synergy-1.3.1/lib/net/CTCPSocket.cpp
|
|
+++ synergy-1.3.1/lib/net/CTCPSocket.cpp
|
|
@@ -24,6 +24,7 @@
|
|
#include "CArch.h"
|
|
#include "XArch.h"
|
|
#include <string.h>
|
|
+#include <stdlib.h>
|
|
|
|
//
|
|
// CTCPSocket
|
|
--- synergy-1.3.1/lib/platform/CXWindowsScreen.cpp
|
|
+++ synergy-1.3.1/lib/platform/CXWindowsScreen.cpp
|
|
@@ -12,6 +12,7 @@
|
|
* GNU General Public License for more details.
|
|
*/
|
|
|
|
+#include <stdlib.h>
|
|
#include "CXWindowsScreen.h"
|
|
#include "CXWindowsClipboard.h"
|
|
#include "CXWindowsEventQueueBuffer.h"
|
|
--- synergy-1.3.1/lib/server/CClientProxy1_3.cpp
|
|
+++ synergy-1.3.1/lib/server/CClientProxy1_3.cpp
|
|
@@ -12,6 +12,7 @@
|
|
* GNU General Public License for more details.
|
|
*/
|
|
|
|
+#include <string.h>
|
|
#include "CClientProxy1_3.h"
|
|
#include "CProtocolUtil.h"
|
|
#include "CLog.h"
|
|
--- synergy-1.3.1/lib/server/CServer.cpp
|
|
+++ synergy-1.3.1/lib/server/CServer.cpp
|
|
@@ -29,6 +29,7 @@
|
|
#include "TMethodEventJob.h"
|
|
#include "CArch.h"
|
|
#include <string.h>
|
|
+#include <stdlib.h>
|
|
|
|
//
|
|
// CServer
|
|
--- synergy-1.3.1/lib/synergy/CPacketStreamFilter.cpp
|
|
+++ synergy-1.3.1/lib/synergy/CPacketStreamFilter.cpp
|
|
@@ -12,6 +12,7 @@
|
|
* GNU General Public License for more details.
|
|
*/
|
|
|
|
+#include <string.h>
|
|
#include "CPacketStreamFilter.h"
|
|
#include "IEventQueue.h"
|
|
#include "CLock.h"
|
|
--- synergy-1.3.1/lib/synergy/IKeyState.cpp
|
|
+++ synergy-1.3.1/lib/synergy/IKeyState.cpp
|
|
@@ -14,6 +14,7 @@
|
|
|
|
#include "IKeyState.h"
|
|
#include <string.h>
|
|
+#include <stdlib.h>
|
|
|
|
//
|
|
// IKeyState
|
|
--- synergy-1.3.1/lib/synergy/IPrimaryScreen.cpp
|
|
+++ synergy-1.3.1/lib/synergy/IPrimaryScreen.cpp
|
|
@@ -12,6 +12,7 @@
|
|
* GNU General Public License for more details.
|
|
*/
|
|
|
|
+#include <stdlib.h>
|
|
#include "IPrimaryScreen.h"
|
|
|
|
//
|
|
|
|
|