]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - image.c
added struct name to imageformats to cure an error in g++ 4
[xonotic/darkplaces.git] / image.c
diff --git a/image.c b/image.c
index e58b98f27c87833ea95acde4ac5d082e916ae01c..830320917084be016f4499deafd1e1b86ea1466c 100644 (file)
--- a/image.c
+++ b/image.c
@@ -652,7 +652,7 @@ void Image_StripImageExtension (const char *in, char *out)
                strcpy(out, in);
 }
 
-struct
+struct imageformat_s
 {
        const char *formatstring;
        qbyte *(*loadfunc)(const qbyte *f, int matchwidth, int matchheight);