diff --git a/apps/httpserver_raw/fs.c b/apps/httpserver_raw/fs.c index 5d4fcc0..9c4fa45 100644 --- a/apps/httpserver_raw/fs.c +++ b/apps/httpserver_raw/fs.c @@ -33,9 +33,20 @@ #include "lwip/def.h" #include "fs.h" #include "fsdata.h" -#include "fsdata.c" #include +/** Set this to 1 to include "fsdata_custom.c" instead of "fsdata.c" for the + * file system (to prevent changing the file included in CVS) */ +#ifndef HTTPD_USE_CUSTUM_FSDATA +#define HTTPD_USE_CUSTUM_FSDATA 0 +#endif + +#if HTTPD_USE_CUSTUM_FSDATA +#include "fsdata_custom.c" +#else /* HTTPD_USE_CUSTUM_FSDATA */ +#include "fsdata.c" +#endif /* HTTPD_USE_CUSTUM_FSDATA */ + /*-----------------------------------------------------------------------------------*/ /* Define the number of open files that we can support. */ #ifndef LWIP_MAX_OPEN_FILES