Want more features on Pastebin? Sign Up, it's FREE!
Guest

updated compile-fix patch (Peace4all.patch)

By: Peaceseeker on Nov 2nd, 2012  |  syntax: None  |  size: 0.82 KB  |  views: 38  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. --- a/include/nfq.h     2010-10-23 07:54:30.000000000 +0100
  2. +++ b/include/nfq.h     2012-11-02 17:48:14.839410860 +0000
  3. @@ -26,6 +26,7 @@
  4.  #include <map>
  5.  #include <memory>
  6.  #include <csignal>
  7. +#include <stdint.h>
  8.  
  9.  extern "C" {
  10.  #include <libnetfilter_queue/libnetfilter_queue.h>
  11. --- a/src/iplist.cc     2010-10-23 07:54:30.000000000 +0100
  12. +++ b/src/iplist.cc     2012-11-02 17:47:23.812386092 +0000
  13. @@ -40,6 +40,7 @@
  14.  #include "iplist.h"
  15.  #include "list.h"
  16.  #include "log.h"
  17. +#include <unistd.h>
  18.  
  19.  volatile std::sig_atomic_t iplist::quit = 0;
  20.  int iplist::daemon_flag = 0;
  21. --- a/src/main.cc       2010-10-23 07:54:30.000000000 +0100
  22. +++ b/src/main.cc       2012-11-02 17:47:46.861049166 +0000
  23. @@ -32,6 +32,7 @@
  24.  #include "iplist.h"
  25.  #include "nfq.h"
  26.  #include "log.h"
  27. +#include <unistd.h>
  28.  
  29.  static long pthread_terminate(pthread_t tid)
  30.  {
clone this paste RAW Paste Data