summaryrefslogtreecommitdiff
path: root/src/gallery-utils.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallery-utils.h')
-rw-r--r--src/gallery-utils.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallery-utils.h b/src/gallery-utils.h
index 7e5e2c0..123879b 100644
--- a/src/gallery-utils.h
+++ b/src/gallery-utils.h
@@ -16,9 +16,11 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
#include <glib.h>
+#include <string.h>
#define IS_DIR_SEP(ch) ((ch) == '/' || (ch) == '~')
#define IS_EQUAL_SIGN(ch) ((ch) == '=')
+#define GET_EXT(s) strrchr (s, '.')
/*