diff options
Diffstat (limited to 'include/libnetfilter_log/libipulog.h')
-rw-r--r-- | include/libnetfilter_log/libipulog.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/libnetfilter_log/libipulog.h b/include/libnetfilter_log/libipulog.h index ee7890a..4d87913 100644 --- a/include/libnetfilter_log/libipulog.h +++ b/include/libnetfilter_log/libipulog.h @@ -7,6 +7,10 @@ #include <fcntl.h> #include <sys/types.h> +#ifdef __cplusplus +extern "C" { +#endif + /* FIXME: glibc sucks */ #ifndef MSG_TRUNC #define MSG_TRUNC 0x20 @@ -67,5 +71,8 @@ enum }; #define IPULOG_MAXERR IPULOG_ERR_INVNL +#ifdef __cplusplus +} /* extern "C" */ +#endif #endif /* _LIBIPULOG_H */ |