1 --- magic.c.orig 2003-07-21 16:35:31.000000000 -0400 2 +++ magic.c 2011-02-17 15:17:14.374973627 -0500 3 @@ -23,6 +23,7 @@ 4 * SOFTWARE. 5 */ 6 #include <stdio.h> 7 +#include <string.h> 8 9 /* Description of the various file formats and their magic numbers */ 10 struct magic { 11 @@ -35,6 +36,7 @@ 12 static struct magic magic[] = { 13 { "image/gif", "GIF", 0 }, 14 { "image/jpeg", "\377\330\377", 0 }, 15 + { "image/png", "\211PNG", 0 }, 16 { "video/mpeg", "\0\0\001\263", 4 }, 17 { "application/postscript", "%!", 0 }, 18 }; 19