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

Max Bowsher maxb at mxtelecom.com
Tue Mar 4 08:19:38 CST 2008


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 at mxtelecom.com>
http://www.mxtelecom.com



More information about the resiprocate-devel mailing list