< Previous by Date Date Index Next by Date >
  Thread Index  

[reSIProcate] Missing #include <signal.h> in resip/stack/test/dumpTls.cxx


On Ubuntu Gutsy, using gcc 4.1.2, building resiprocate "main", I found compilation failed because the symbols 'kill' and 'SIGINT' were not declared, because <signal.h> was not included in resip/stack/test/dumpTls.cxx.

Adding it allowed the build to succeed:

Index: resip/stack/test/dumpTls.cxx
===================================================================
--- resip/stack/test/dumpTls.cxx        (revision 7570)
+++ resip/stack/test/dumpTls.cxx        (working copy)
@@ -15,6 +15,7 @@
 #include <iostream>
 #include <memory>
 #include <sys/ioctl.h>
+#include <signal.h>

 #ifdef __MINGW32__
 #define sleep(x) Sleep((x)*1000)


Thanks,
Max.

--
Max Bowsher <maxb@xxxxxxxxxxxxx>
http://www.mxtelecom.com