From e0a0a4bf8a3861ab811487706e1773212a8ffabd Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Mon, 31 Aug 2009 23:28:53 +0200 Subject: [PATCH] protect ucimap.h against multiple inclusions --- ucimap.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ucimap.h b/ucimap.h index a114644..1e596eb 100644 --- a/ucimap.h +++ b/ucimap.h @@ -11,6 +11,9 @@ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. */ +#ifndef __UCIMAP_H +#define __UCIMAP_H + #include #include "uci_list.h" #include "uci.h" @@ -163,3 +166,4 @@ extern void ucimap_set_changed(struct ucimap_section_data *sd, void *field); extern int ucimap_store_section(struct uci_map *map, struct uci_package *p, struct ucimap_section_data *sd); extern void ucimap_parse(struct uci_map *map, struct uci_package *pkg); +#endif -- 2.41.0