From 074a7b596794e054f63d68c250c87c3542705f8d Mon Sep 17 00:00:00 2001 From: goldsimon Date: Fri, 21 Nov 2014 17:05:32 +0100 Subject: [PATCH] httpserver_raw/fs.h: added C++ include guards --- apps/httpserver_raw/fs.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/apps/httpserver_raw/fs.h b/apps/httpserver_raw/fs.h index ac3b249..68248c2 100644 --- a/apps/httpserver_raw/fs.h +++ b/apps/httpserver_raw/fs.h @@ -35,6 +35,10 @@ #include "lwip/opt.h" #include "lwip/err.h" +#ifdef __cplusplus +extern "C" { +#endif + /** Set this to 1 and provide the functions: * - "int fs_open_custom(struct fs_file *file, const char *name)" * Called first for every opened file to allow opening files @@ -129,4 +133,8 @@ void *fs_state_init(struct fs_file *file, const char *name); void fs_state_free(struct fs_file *file, void *state); #endif /* #if LWIP_HTTPD_FILE_STATE */ +#ifdef __cplusplus +} +#endif + #endif /* LWIP_FS_H */