packages/libs/ptlib/patches/010-fix-gcc_4_3-compile.patch

13 lines
362 B
Diff
Raw Normal View History

diff -urN ptlib-2.10.9/src/ptclib/socks.cxx ptlib-2.10.9.new/src/ptclib/socks.cxx
--- ptlib-2.10.9/src/ptclib/socks.cxx 2012-11-26 11:44:52.000000000 +0100
+++ ptlib-2.10.9.new/src/ptclib/socks.cxx 2012-12-11 15:55:41.320940496 +0100
@@ -34,6 +34,8 @@
#include <ptclib/socks.h>
+#include <algorithm>
+
#define new PNEW
#define SOCKS_VERSION_4 ((BYTE)4)