create-image-cache: ensure PATH_MAX is defined

This commit is contained in:
Thomas Wood 2011-11-23 11:30:18 +00:00
parent 21bb22bac7
commit 71142d3338
1 changed files with 5 additions and 0 deletions

View File

@ -32,6 +32,11 @@
#include <glib.h>
#include <gdk-pixbuf/gdk-pixbuf.h>
#ifndef PATH_MAX
#define PATH_MAX 1024
#endif
struct imgcache_element {
char filename[256];
int width, height;