[PATCH] small include/linux/parser.h fixes

From: Nikola Ciprich
Date: Wed Jul 16 2008 - 09:33:45 EST


add linux/types.h include to linux/parser.h
also add #ifndef __LINUX_PARSER_H ... #endif

Signed-off-by: Nikola Ciprich <nikola.ciprich@xxxxxxxxxxx>
---
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

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/