[<prev] [next>] [day] [month] [year] [list]
Message-Id: <1216229593-8186-1-git-send-email-nikola.ciprich@linuxbox.cz>
Date: Wed, 16 Jul 2008 13:33:13 -0400
From: Nikola Ciprich <nikola.ciprich@...uxbox.cz>
To: linux-kernel@...r.kernel.org
Cc: Nikola Ciprich <nikola.ciprich@...uxbox.cz>
Subject: [PATCH] small include/linux/parser.h fixes
add linux/types.h include to linux/parser.h
also add #ifndef __LINUX_PARSER_H ... #endif
Signed-off-by: Nikola Ciprich <nikola.ciprich@...uxbox.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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists