THTTPD: Include timers.h before libhttpd.h to avoid and undefined type error. Noted by Matt Poppe.

This commit is contained in:
Gregory Nutt 2016-02-24 09:42:06 -06:00
parent 4c10341269
commit ed820c1850
2 changed files with 4 additions and 4 deletions

View File

@ -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"

View File

@ -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)