1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
|
#! /bin/sh /usr/share/dpatch/dpatch-run
## 40_inet_addr_includes.dpatch by Colin Watson <cjwatson@debian.org>
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: Add required headers for inet_addr.
@DPATCH@
diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' libapache-mod-removeip-1.0b~/apache2.0/mod_removeip.c libapache-mod-removeip-1.0b/apache2.0/mod_removeip.c
--- libapache-mod-removeip-1.0b~/apache2.0/mod_removeip.c 2013-07-08 18:13:32.000000000 +0100
+++ libapache-mod-removeip-1.0b/apache2.0/mod_removeip.c 2013-07-08 18:13:52.993667272 +0100
@@ -1,3 +1,7 @@
+#include <sys/socket.h>
+#include <netinet/in.h>
+#include <arpa/inet.h>
+
#include "httpd.h"
#include "http_config.h"
#include "http_core.h"
|