lkml.org 
[lkml]   [1997]   [Sep]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subjectpre-2.0.31-9 PATCH Missing include in ip_fw.h
Hello!

in 'include/linux/ip_fw.h' the structure 'timer_list' is used, but the
related include file 'linux/timer.h' is not included. Therefore I could
not compile a userspace program that included 'ip_fw.h'.

Patch provided.

Kurt

-------------------------------------------------------------
"Try to remove the color-problem by restarting your computer
several times." (Microsoft-Internet Explorer README.TXT)
--- linux-2.0.30-pre9/include/linux/ip_fw.h.orig Sat Sep 13 04:06:26 1997
+++ linux-2.0.30-pre9/include/linux/ip_fw.h Sat Sep 13 04:07:31 1997
@@ -59,6 +59,10 @@
#include <linux/udp.h>
#include <linux/config.h>

+#ifdef CONFIG_IP_MASQUERADE_IPAUTOFW
+#include <linux/timer.h>
+#endif
+
struct ip_fw
{
struct ip_fw *fw_next; /* Next firewall on chain */
\
 
 \ /
  Last update: 2005-03-22 13:40    [W:0.051 / U:0.092 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site