X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/69819af4834557e60c33bb378e29cf3d4e8269f8..f9754b35f2f3b4c5cb0890f154181d2bab66c679:/sbr/mime_type.c diff --git a/sbr/mime_type.c b/sbr/mime_type.c index 016947aa..ab2a9a09 100644 --- a/sbr/mime_type.c +++ b/sbr/mime_type.c @@ -5,9 +5,12 @@ * complete copyright information. */ -#include -#include -#include +#include "h/mh.h" +#include "concat.h" +#include "readconfig.h" +#include "error.h" +#include "h/utils.h" +#include "h/tws.h" #include "mime_type.h" #ifdef MIMETYPEPROC @@ -20,7 +23,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;