[gspell] Protect gspell.h from several inclusions



commit f21e5071fe0193761fc6b1fbe8483d91c1983734
Author: Sébastien Wilmet <swilmet gnome org>
Date:   Sat Nov 21 14:22:26 2015 +0100

    Protect gspell.h from several inclusions

 gspell/gspell.h |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/gspell/gspell.h b/gspell/gspell.h
index 6e06c5f..1909289 100644
--- a/gspell/gspell.h
+++ b/gspell/gspell.h
@@ -17,6 +17,9 @@
  * along with this program; if not, see <http://www.gnu.org/licenses/>.
  */
 
+#ifndef __GSPELL_H__
+#define __GSPELL_H__
+
 #include <gspell/gspell-checker.h>
 #include <gspell/gspell-checker-dialog.h>
 #include <gspell/gspell-inline-checker-gtv.h>
@@ -27,4 +30,6 @@
 #include <gspell/gspell-navigator.h>
 #include <gspell/gspell-navigator-gtv.h>
 
+#endif /* __GSPELL_H__ */
+
 /* ex:set ts=8 noet: */


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]