From: Felix Fietkau Date: Mon, 31 Aug 2009 21:28:53 +0000 (+0200) Subject: protect ucimap.h against multiple inclusions X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=e0a0a4bf8a3861ab811487706e1773212a8ffabd;p=uci.git protect ucimap.h against multiple inclusions --- 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