Messages in this thread Patch in this message | | | From | Nikola Ciprich <> | Subject | [PATCH] small include/linux/parser.h fixes | Date | Wed, 16 Jul 2008 13:33:13 -0400 |
| |
add linux/types.h include to linux/parser.h also add #ifndef __LINUX_PARSER_H ... #endif
Signed-off-by: Nikola Ciprich <nikola.ciprich@linuxbox.cz> --- include/linux/parser.h | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/include/linux/parser.h b/include/linux/parser.h index 7dcd050..2f4c8e1 100644 --- a/include/linux/parser.h +++ b/include/linux/parser.h @@ -7,6 +7,10 @@ * parsing is required. */ +#ifndef _LINUX_PARSER_H +#define _LINUX_PARSER_H + +#include <linux/types.h> /* associates an integer enumerator with a pattern string. */ struct match_token { @@ -31,3 +35,5 @@ int match_octal(substring_t *, int *result); int match_hex(substring_t *, int *result); size_t match_strlcpy(char *, const substring_t *, size_t); char *match_strdup(const substring_t *); + +#endif -- 1.5.4.3
| |