Fix missing function prototype definition
This commit is contained in:
parent
ceb62ca889
commit
85648f0a0d
5 changed files with 45 additions and 3 deletions
1
debian/patches/00list
vendored
Normal file
1
debian/patches/00list
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
01_fix_prototyp.dpatch
|
31
debian/patches/01_fix_prototyp.dpatch
vendored
Executable file
31
debian/patches/01_fix_prototyp.dpatch
vendored
Executable file
|
@ -0,0 +1,31 @@
|
|||
#!/bin/sh /usr/share/dpatch/dpatch-run
|
||||
## 01_fix_prototyp.dpatch by dann frazier <dannf@debian.org>
|
||||
##
|
||||
## DP: fix missing function prototype definition
|
||||
|
||||
@DPATCH@
|
||||
|
||||
--- dns-flood-detector-1.10/dns_flood_detector.c~ 2003-12-29 20:53:38.000000000 -0700
|
||||
+++ dns-flood-detector-1.10/dns_flood_detector.c 2006-11-18 17:38:47.000000000 -0700
|
||||
@@ -79,11 +79,13 @@
|
||||
#include <stdlib.h>
|
||||
#include <fcntl.h>
|
||||
#include <errno.h>
|
||||
+#include <sys/socket.h>
|
||||
#include <netinet/in_systm.h>
|
||||
#include <netinet/in.h>
|
||||
#include <netinet/ip.h>
|
||||
#include <netinet/tcp.h>
|
||||
#include <netinet/udp.h>
|
||||
+#include <arpa/inet.h>
|
||||
#ifdef __bsdi__
|
||||
#include <net/if_ethernet.h>
|
||||
#else
|
||||
@@ -99,6 +101,7 @@
|
||||
#include <math.h>
|
||||
#include <signal.h>
|
||||
#include <syslog.h>
|
||||
+#include <string.h>
|
||||
#include "dns_flood_detector.h"
|
||||
|
||||
// global variables and their defaults
|
Loading…
Add table
Add a link
Reference in a new issue