Thread (2 messages) flat view 2 messages, 2 authors, 2015-05-30
STALE3976d

Revision v03 of 3 in this series.

Revisions (3)
  1. v03 current
  2. v4 [diff vs current]
  3. v05 [diff vs current]

[PATCH 43/98] include/uapi/linux/hdlc/ioctl.h: include linux/if.h

From: Mikko Rapeli <hidden>
Date: 2015-05-30 15:42:47
Also in: lkml
Subsystem: the rest · Maintainer: Linus Torvalds

Possibly related (same subject, not in this thread)

Fixes userspace compiler error:

error: ‘IFNAMSIZ’ undeclared here (not in a function)

Signed-off-by: Mikko Rapeli <redacted>
---
 include/uapi/linux/hdlc/ioctl.h | 1 +
 1 file changed, 1 insertion(+)
diff --git a/include/uapi/linux/hdlc/ioctl.h b/include/uapi/linux/hdlc/ioctl.h
index 04bc027..8bbee11 100644
--- a/include/uapi/linux/hdlc/ioctl.h
+++ b/include/uapi/linux/hdlc/ioctl.h
@@ -1,6 +1,7 @@
 #ifndef __HDLC_IOCTL_H__
 #define __HDLC_IOCTL_H__
 
+#include <linux/if.h>
 
 #define GENERIC_HDLC_VERSION 4	/* For synchronization with sethdlc utility */
 
-- 
2.1.4
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help