diff mbox

[libnetfilter_log] Add include needed for integer type definition.

Message ID 1430297458-20973-1-git-send-email-ncopa@alpinelinux.org
State Accepted
Delegated to: Pablo Neira
Headers show

Commit Message

Natanael Copa April 29, 2015, 8:50 a.m. UTC
The sys/types.h is needed for u_int*_t types.

Signed-off-by: Natanael Copa <ncopa@alpinelinux.org>
---
 include/libnetfilter_log/libipulog.h | 1 +
 1 file changed, 1 insertion(+)

Comments

Pablo Neira Ayuso May 15, 2015, 6:24 p.m. UTC | #1
On Wed, Apr 29, 2015 at 10:50:58AM +0200, Natanael Copa wrote:
> The sys/types.h is needed for u_int*_t types.

Applied.
--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/include/libnetfilter_log/libipulog.h b/include/libnetfilter_log/libipulog.h
index 8a4ae2a..1093bdd 100644
--- a/include/libnetfilter_log/libipulog.h
+++ b/include/libnetfilter_log/libipulog.h
@@ -4,6 +4,7 @@ 
 #include <errno.h>
 #include <unistd.h>
 #include <fcntl.h>
+#include <sys/types.h>
 
 /* FIXME: glibc sucks */
 #ifndef MSG_TRUNC