lkml.org 
[lkml]   [2018]   [May]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH] netfilter: uapi: includes linux/types.h
Date
gcc-7.3.0 report following warning:
./usr/include/linux/netfilter/nf_osf.h:27: found __[us]{8,16,32,64} type without #include <linux/types.h>

includes linux/types.h to fix it.

Signed-off-by: YueHaibing <yuehaibing@huawei.com>
---
include/uapi/linux/netfilter/nf_osf.h | 2 ++
1 file changed, 2 insertions(+)

diff --git a/include/uapi/linux/netfilter/nf_osf.h b/include/uapi/linux/netfilter/nf_osf.h
index 45376ea..d1dbe00 100644
--- a/include/uapi/linux/netfilter/nf_osf.h
+++ b/include/uapi/linux/netfilter/nf_osf.h
@@ -1,6 +1,8 @@
#ifndef _NF_OSF_H
#define _NF_OSF_H

+#include <linux/types.h>
+
#define MAXGENRELEN 32

#define NF_OSF_GENRE (1 << 0)
--
2.7.0

\
 
 \ /
  Last update: 2018-05-23 09:04    [W:0.034 / U:1.176 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site