THTTPD: Include timers.h before libhttpd.h to avoid and undefined type error. Noted by Matt Poppe.
This commit is contained in:
parent
4c10341269
commit
ed820c1850
@ -2,7 +2,7 @@
|
|||||||
* netutils/thttpd/libhttpd.c
|
* netutils/thttpd/libhttpd.c
|
||||||
* HTTP Protocol Library
|
* HTTP Protocol Library
|
||||||
*
|
*
|
||||||
* Copyright (C) 2009, 2011, 2013, 2015 Gregory Nutt. All rights reserved.
|
* Copyright (C) 2009, 2011, 2013, 2015-2016 Gregory Nutt. All rights reserved.
|
||||||
* Author: Gregory Nutt <gnutt@nuttx.org>
|
* Author: Gregory Nutt <gnutt@nuttx.org>
|
||||||
*
|
*
|
||||||
* Derived from the file of the same name in the original THTTPD package:
|
* Derived from the file of the same name in the original THTTPD package:
|
||||||
@ -64,11 +64,11 @@
|
|||||||
#include <apps/netutils/thttpd.h>
|
#include <apps/netutils/thttpd.h>
|
||||||
|
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
|
#include "timers.h"
|
||||||
#include "libhttpd.h"
|
#include "libhttpd.h"
|
||||||
#include "thttpd_alloc.h"
|
#include "thttpd_alloc.h"
|
||||||
#include "thttpd_strings.h"
|
#include "thttpd_strings.h"
|
||||||
#include "thttpd_cgi.h"
|
#include "thttpd_cgi.h"
|
||||||
#include "timers.h"
|
|
||||||
#include "tdate_parse.h"
|
#include "tdate_parse.h"
|
||||||
#include "fdwatch.h"
|
#include "fdwatch.h"
|
||||||
|
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
* netutils/thttpd/thttpd_cgi.c
|
* netutils/thttpd/thttpd_cgi.c
|
||||||
* CGI support
|
* CGI support
|
||||||
*
|
*
|
||||||
* Copyright (C) 2009, 2011 Gregory Nutt. All rights reserved.
|
* Copyright (C) 2009, 2011, 2016 Gregory Nutt. All rights reserved.
|
||||||
* Author: Gregory Nutt <gnutt@nuttx.org>
|
* Author: Gregory Nutt <gnutt@nuttx.org>
|
||||||
*
|
*
|
||||||
* Derived from the file libhttpd.c in the original THTTPD package:
|
* Derived from the file libhttpd.c in the original THTTPD package:
|
||||||
@ -59,10 +59,10 @@
|
|||||||
#include <apps/netutils/thttpd.h>
|
#include <apps/netutils/thttpd.h>
|
||||||
|
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
|
#include "timers.h"
|
||||||
#include "libhttpd.h"
|
#include "libhttpd.h"
|
||||||
#include "thttpd_alloc.h"
|
#include "thttpd_alloc.h"
|
||||||
#include "thttpd_strings.h"
|
#include "thttpd_strings.h"
|
||||||
#include "timers.h"
|
|
||||||
#include "fdwatch.h"
|
#include "fdwatch.h"
|
||||||
|
|
||||||
#if defined(CONFIG_THTTPD) && defined(CONFIG_THTTPD_CGI_PATTERN)
|
#if defined(CONFIG_THTTPD) && defined(CONFIG_THTTPD_CGI_PATTERN)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user