extras/globbing.h
branchstable-2.0
changeset 1183 9d2ec90ca841
parent 809 116b8fe30371
--- a/extras/globbing.h	Mon Aug 01 17:52:51 2011 -0400
+++ b/extras/globbing.h	Sat Sep 24 00:55:15 2011 -0700
@@ -1,3 +1,6 @@
+#ifndef INCL_PHYSFSEXT_GLOBBING_H
+#define INCL_PHYSFSEXT_GLOBBING_H
+
 /** \file globbing.h */
 
 /**
@@ -30,6 +33,9 @@
  *  \author Ryan C. Gordon.
  */
 
+#ifdef __cplusplus
+extern "C" {
+#endif
 
 /**
  * \fn char **PHYSFS_enumerateFilesWildcard(const char *dir, const char *wildcard, int caseSensitive)
@@ -73,5 +79,11 @@
                                                    const char *wildcard,
                                                    int caseSensitive);
 
+#ifdef __cplusplus
+}
+#endif
+
+#endif  /* include-once blocker. */
+
 /* end of globbing.h ... */