Skip to content

Instantly share code, notes, and snippets.

@Habbie
Created April 26, 2013 11:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Habbie/5466625 to your computer and use it in GitHub Desktop.
Save Habbie/5466625 to your computer and use it in GitHub Desktop.
gcc 4.3 fix
diff -up pdns-recursor-3.1.5-snapshot3/rec_channel.cc.orig pdns-recursor-3.1.5-snapshot3/rec_channel.cc
--- pdns-recursor-3.1.5-snapshot3/rec_channel.cc.orig 2008-02-09 14:56:08.000000000 +0100
+++ pdns-recursor-3.1.5-snapshot3/rec_channel.cc 2008-02-09 14:56:46.000000000 +0100
@@ -1,6 +1,7 @@
#include "rec_channel.hh"
#include <sys/socket.h>
#include <cerrno>
+#include <cstdlib>
#include <unistd.h>
#include <sys/types.h>
#include <sys/stat.h>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment