Skip to content

Commit

Permalink
[NETFILTER]: ipt_iprange.h must #include <linux/types.h>
Browse files Browse the repository at this point in the history
ipt_iprange.h must #include <linux/types.h> since it uses __be32.

This patch fixes kernel Bugzilla #7604.

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Adrian Bunk authored and David S. Miller committed Jul 18, 2007
1 parent 75a69ac commit ebd61cc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions include/linux/netfilter_ipv4/ipt_iprange.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
#ifndef _IPT_IPRANGE_H
#define _IPT_IPRANGE_H

#include <linux/types.h>

#define IPRANGE_SRC 0x01 /* Match source IP address */
#define IPRANGE_DST 0x02 /* Match destination IP address */
#define IPRANGE_SRC_INV 0x10 /* Negate the condition */
Expand Down

0 comments on commit ebd61cc

Please sign in to comment.