Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

makefsdata works even when dynamic headers and SSI are disabled #57

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion src/apps/http/makefsdata/makefsdata.c
Original file line number Diff line number Diff line change
Expand Up @@ -97,10 +97,14 @@ static int deflate_level; /* default compression level, can be changed via comma
#define LWIP_PLATFORM_ASSERT(x) do {printf("Assertion \"%s\" failed at line %d in %s\n", \
x, __LINE__, __FILE__); fflush(NULL); abort();} while(0)

#include "lwip/init.h"

/* define this to get the header variables we use to build HTTP headers */
#undef LWIP_HTTPD_DYNAMIC_HEADERS
#undef LWIP_HTTPD_SSI
#define LWIP_HTTPD_DYNAMIC_HEADERS 1
#define LWIP_HTTPD_SSI 1
#include "lwip/init.h"

#include "../httpd_structs.h"
#include "lwip/apps/fs.h"

Expand Down