X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/69819af4834557e60c33bb378e29cf3d4e8269f8..1e03ea3338cc5ccd9ddf4feaaacfeda1998689cc:/sbr/mime_type.c diff --git a/sbr/mime_type.c b/sbr/mime_type.c index 016947aa..91c6c398 100644 --- a/sbr/mime_type.c +++ b/sbr/mime_type.c @@ -5,9 +5,11 @@ * complete copyright information. */ -#include -#include -#include +#include "h/mh.h" +#include "readconfig.h" +#include "error.h" +#include "h/utils.h" +#include "h/tws.h" #include "mime_type.h" #ifdef MIMETYPEPROC @@ -20,7 +22,8 @@ static char *get_file_info(const char *, const char *); * is responsible for free'ing returned memory. */ char * -mime_type(const char *file_name) { +mime_type(const char *file_name) +{ char *content_type = NULL; /* mime content type */ char *p;