diff --git a/extras/globbing.h b/extras/globbing.h index a25e1e9..3527c99 100644 --- a/extras/globbing.h +++ b/extras/globbing.h @@ -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 @@ __EXPORT__ char **PHYSFSEXT_enumerateFilesWildcard(const char *dir, const char *wildcard, int caseSensitive); +#ifdef __cplusplus +} +#endif + +#endif /* include-once blocker. */ + /* end of globbing.h ... */ diff --git a/extras/ignorecase.h b/extras/ignorecase.h index 873202e..cd64f81 100644 --- a/extras/ignorecase.h +++ b/extras/ignorecase.h @@ -1,3 +1,6 @@ +#ifndef INCL_PHYSFSEXT_IGNORECASE_H +#define INCL_PHYSFSEXT_IGNORECASE_H + /** \file ignorecase.h */ /** @@ -44,6 +47,9 @@ * \author Ryan C. Gordon. */ +#ifdef __cplusplus +extern "C" { +#endif /** * \fn int PHYSFSEXT_locateCorrectCase(char *buf) @@ -71,5 +77,11 @@ */ int PHYSFSEXT_locateCorrectCase(char *buf); +#ifdef __cplusplus +} +#endif + +#endif /* include-once blocker. */ + /* end of ignorecase.h ... */