Browse Source

remove warning for strptime

git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@769 152afb58-edef-0310-8abb-c4023f1b3aa9
svn/tags/lighttpd-1.4.6
Xuefer 16 years ago
parent
commit
58e4c26d94
  1. 2
      src/http-header-glue.c
  2. 3
      src/mod_staticfile.c

2
src/http-header-glue.c

@ -1,3 +1,5 @@
#define _GNU_SOURCE
#include <string.h>
#include <errno.h>
#include <time.h>

3
src/mod_staticfile.c

@ -2,9 +2,6 @@
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#define _XOPEN_SOURCE /* glibc 2.0 */
#define __USE_XOPEN /* glibc 2.3 */
#include <time.h>
#include "base.h"
#include "log.h"

Loading…
Cancel
Save