diff options
author | Jan Engelhardt <jengelh@medozas.de> | 2009-02-21 03:46:37 +0100 |
---|---|---|
committer | Jan Engelhardt <jengelh@medozas.de> | 2009-02-21 15:44:19 +0100 |
commit | 4e41854423b529d3107c23b85434d50a75d08057 (patch) | |
tree | dac5a3b1e128bb782d9b5cb028c622dd057ad462 /include/libiptc/libiptc.h | |
parent | 978e27e8f8c2e49d0528c6c4ae3a56627fbe8492 (diff) |
extensions: add missing limits.h include
Thanks to Stephen Hemminger for noticing.
Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
Diffstat (limited to 'include/libiptc/libiptc.h')
-rw-r--r-- | include/libiptc/libiptc.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/libiptc/libiptc.h b/include/libiptc/libiptc.h index 482b11d7..5d782dab 100644 --- a/include/libiptc/libiptc.h +++ b/include/libiptc/libiptc.h @@ -4,6 +4,11 @@ #include <linux/types.h> #include <libiptc/ipt_kernel_headers.h> +#ifdef __cplusplus +# include <climits> +#else +# include <limits.h> /* INT_MAX in ip_tables.h */ +#endif #include <linux/netfilter_ipv4/ip_tables.h> #ifdef __cplusplus |