mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-08-15 17:33:23 +00:00
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 changed files with 4 additions and 4 deletions
|
|
@ -2,7 +2,7 @@
|
|||
* netutils/thttpd/libhttpd.c
|
||||
* 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>
|
||||
*
|
||||
* Derived from the file of the same name in the original THTTPD package:
|
||||
|
|
@ -64,11 +64,11 @@
|
|||
#include <apps/netutils/thttpd.h>
|
||||
|
||||
#include "config.h"
|
||||
#include "timers.h"
|
||||
#include "libhttpd.h"
|
||||
#include "thttpd_alloc.h"
|
||||
#include "thttpd_strings.h"
|
||||
#include "thttpd_cgi.h"
|
||||
#include "timers.h"
|
||||
#include "tdate_parse.h"
|
||||
#include "fdwatch.h"
|
||||
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
* netutils/thttpd/thttpd_cgi.c
|
||||
* 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>
|
||||
*
|
||||
* Derived from the file libhttpd.c in the original THTTPD package:
|
||||
|
|
@ -59,10 +59,10 @@
|
|||
#include <apps/netutils/thttpd.h>
|
||||
|
||||
#include "config.h"
|
||||
#include "timers.h"
|
||||
#include "libhttpd.h"
|
||||
#include "thttpd_alloc.h"
|
||||
#include "thttpd_strings.h"
|
||||
#include "timers.h"
|
||||
#include "fdwatch.h"
|
||||
|
||||
#if defined(CONFIG_THTTPD) && defined(CONFIG_THTTPD_CGI_PATTERN)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue