aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-bsp/pcmciautils/pcmciautils/lex_sys_types.patch
blob: d4c2bed15ca85b2a0849f18be2ee4848e459145c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
Include sys/types.h for u_long definition

Fix errors like
In file included from src/lex_config.l:34:0:
src/yacc_config.y:45:5: error: unknown type name 'u_long'
     u_long num;

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upstream-Status: Pending
Index: pcmciautils-018/src/lex_config.l
===================================================================
--- pcmciautils-018.orig/src/lex_config.l
+++ pcmciautils-018/src/lex_config.l
@@ -22,6 +22,7 @@
 #include <unistd.h>
 #include <string.h>
 #include <syslog.h>
+#include <sys/types.h>
 
 #ifdef HAS_WORDEXP
 #include <wordexp.h>