mirror of
https://git.gnunet.org/libmicrohttpd.git
synced 2026-09-25 04:09:31 +03:00
use MHD_config.h
This commit is contained in:
+1
-1
@@ -23,7 +23,7 @@
|
||||
AC_PREREQ(2.57)
|
||||
AC_INIT([libmicrohttpd], [0.3.1],[libmicrohttpd@gnunet.org])
|
||||
AM_INIT_AUTOMAKE([libmicrohttpd], [0.3.1])
|
||||
AM_CONFIG_HEADER([config.h])
|
||||
AM_CONFIG_HEADER([MHD_config.h])
|
||||
|
||||
AH_TOP([#define _GNU_SOURCE 1])
|
||||
|
||||
|
||||
@@ -24,6 +24,7 @@
|
||||
* @author Daniel Pittman
|
||||
* @author Christian Grothoff
|
||||
*/
|
||||
#include "platform.h"
|
||||
#include "internal.h"
|
||||
#include "response.h"
|
||||
#include "connection.h"
|
||||
@@ -411,8 +412,10 @@ MHD_accept_connection (struct MHD_Daemon *daemon)
|
||||
}
|
||||
return MHD_NO;
|
||||
}
|
||||
#if HAVE_MESSAGES
|
||||
#if DEBUG_CONNECT
|
||||
MHD_DLOG (daemon, "Accepted connection on socket %d\n", s);
|
||||
#endif
|
||||
#endif
|
||||
have = 0;
|
||||
if ((daemon->per_ip_connection_limit != 0) && (daemon->max_connections > 0))
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
with this program; if not, write to the Free Software Foundation,
|
||||
Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */
|
||||
|
||||
#include <config.h>
|
||||
#include "MHD_config.h"
|
||||
|
||||
/* Specification. */
|
||||
#include "vasnprintf.h"
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
with this program; if not, write to the Free Software Foundation,
|
||||
Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */
|
||||
|
||||
#include <config.h>
|
||||
#include "MHD_config.h"
|
||||
|
||||
/* Specification. */
|
||||
#ifdef IN_LIBASPRINTF
|
||||
|
||||
@@ -94,7 +94,7 @@
|
||||
*/
|
||||
|
||||
|
||||
#include <config.h>
|
||||
#include "MHD_config.h"
|
||||
|
||||
#include "des.h"
|
||||
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
|
||||
/* Note: This file is only built if GC uses internal functions. */
|
||||
|
||||
#include <config.h>
|
||||
#include "MHD_config.h"
|
||||
|
||||
/* Get prototype. */
|
||||
#include "gc.h"
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
|
||||
/* Note: This file is only built if GC uses Libgcrypt. */
|
||||
|
||||
#include "config.h"
|
||||
#include "MHD_config.h"
|
||||
|
||||
/* Get prototype. */
|
||||
#include "gc.h"
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
/* Written by Simon Josefsson. The comments in this file are taken
|
||||
from RFC 2898. */
|
||||
|
||||
#include <config.h>
|
||||
#include "MHD_config.h"
|
||||
|
||||
#include "gc.h"
|
||||
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
|
||||
/* Written by Simon Josefsson. */
|
||||
|
||||
#include <config.h>
|
||||
#include "MHD_config.h"
|
||||
|
||||
#include "hmac.h"
|
||||
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
|
||||
/* Written by Simon Josefsson. */
|
||||
|
||||
#include <config.h>
|
||||
#include "MHD_config.h"
|
||||
|
||||
#include "hmac.h"
|
||||
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
|
||||
/* Written by Ulrich Drepper <drepper@gnu.ai.mit.edu>, 1995. */
|
||||
|
||||
#include <config.h>
|
||||
#include "MHD_config.h"
|
||||
|
||||
#include "md5.h"
|
||||
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */
|
||||
|
||||
#ifndef _LIBC
|
||||
# include <config.h>
|
||||
#include "MHD_config.h"
|
||||
#endif
|
||||
|
||||
#include <stddef.h>
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
In the public domain.
|
||||
By David MacKenzie <djm@gnu.ai.mit.edu>. */
|
||||
|
||||
#include <config.h>
|
||||
#include "MHD_config.h"
|
||||
|
||||
#include <stddef.h>
|
||||
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
/* Written by Simon Josefsson. The interface was inspired by memxor
|
||||
in Niels Möller's Nettle. */
|
||||
|
||||
#include <config.h>
|
||||
#include "MHD_config.h"
|
||||
|
||||
#include "memxor.h"
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
STATIC Set to 'static' to declare the function static. */
|
||||
|
||||
#ifndef PRINTF_FETCHARGS
|
||||
# include <config.h>
|
||||
#include "MHD_config.h"
|
||||
#endif
|
||||
|
||||
/* Specification. */
|
||||
|
||||
@@ -29,7 +29,7 @@
|
||||
ENABLE_UNISTDIO Set to 1 to enable the unistdio extensions. */
|
||||
|
||||
#ifndef PRINTF_PARSE
|
||||
# include <config.h>
|
||||
#include "MHD_config.h"
|
||||
#endif
|
||||
|
||||
/* Specification. */
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
along with this program; if not, write to the Free Software Foundation,
|
||||
Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */
|
||||
|
||||
#include <config.h>
|
||||
#include "MHD_config.h"
|
||||
|
||||
#include "read-file.h"
|
||||
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
|
||||
/* written by Jim Meyering and Bruno Haible */
|
||||
|
||||
#include <config.h>
|
||||
#include "MHD_config.h"
|
||||
|
||||
/* Only the AC_FUNC_REALLOC macro defines 'realloc' already in config.h. */
|
||||
#ifdef realloc
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
* http://www.iaik.tu-graz.ac.at/research/krypto/AES/old/~rijmen/rijndael/rijndael-fst-3.0.zip
|
||||
*/
|
||||
|
||||
#include <config.h>
|
||||
#include "MHD_config.h"
|
||||
|
||||
/**
|
||||
* rijndael-alg-fst.c
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
* http://www.iaik.tu-graz.ac.at/research/krypto/AES/old/~rijmen/rijndael/rijndael-fst-3.0.zip
|
||||
*/
|
||||
|
||||
#include <config.h>
|
||||
#include "MHD_config.h"
|
||||
|
||||
/**
|
||||
* rijndael-api-fst.c
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
Robert Klep <robert@ilse.nl> -- Expansion function fix
|
||||
*/
|
||||
|
||||
#include <config.h>
|
||||
#include "MHD_config.h"
|
||||
|
||||
#include "sha1.h"
|
||||
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
with this program; if not, write to the Free Software Foundation,
|
||||
Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */
|
||||
|
||||
#include <config.h>
|
||||
#include "MHD_config.h"
|
||||
|
||||
/* Specification. */
|
||||
#include <stdio.h>
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */
|
||||
|
||||
#if !_LIBC
|
||||
# include <config.h>
|
||||
#include "MHD_config.h"
|
||||
#endif
|
||||
|
||||
#include <string.h>
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
|
||||
/* Written by Paul Eggert. */
|
||||
|
||||
#include <config.h>
|
||||
#include "MHD_config.h"
|
||||
|
||||
#include <time.h>
|
||||
|
||||
|
||||
@@ -52,7 +52,7 @@
|
||||
#endif
|
||||
|
||||
#ifndef VASNPRINTF
|
||||
# include <config.h>
|
||||
#include "MHD_config.h"
|
||||
#endif
|
||||
#ifndef IN_LIBINTL
|
||||
# include <alloca.h>
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
with this program; if not, write to the Free Software Foundation,
|
||||
Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */
|
||||
|
||||
#include <config.h>
|
||||
#include "MHD_config.h"
|
||||
|
||||
/* Specification. */
|
||||
#ifdef IN_LIBASPRINTF
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
# define DEFINES_H
|
||||
|
||||
#if HAVE_CONFIG_H
|
||||
# include <config.h>
|
||||
# include "MHD_config.h"
|
||||
#endif
|
||||
|
||||
#include <stddef.h>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#if HAVE_CONFIG_H
|
||||
# include "config.h"
|
||||
#include "MHD_config.h"
|
||||
#endif
|
||||
|
||||
#include <libtasn1.h>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#if HAVE_CONFIG_H
|
||||
# include "config.h"
|
||||
#include "MHD_config.h"
|
||||
#endif
|
||||
|
||||
#include <libtasn1.h>
|
||||
|
||||
@@ -34,7 +34,7 @@
|
||||
#ifndef PLATFORM_H
|
||||
#define PLATFORM_H
|
||||
|
||||
#include "config.h"
|
||||
#include "MHD_config.h"
|
||||
|
||||
#define _XOPEN_SOURCE_EXTENDED 1
|
||||
#define _OPEN_THREADS
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
* @author Sagie Amir
|
||||
*/
|
||||
|
||||
#include "config.h"
|
||||
#include "MHD_config.h"
|
||||
#include "platform.h"
|
||||
#include <curl/curl.h>
|
||||
#include <microhttpd.h>
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
* @author Christian Grothoff
|
||||
*/
|
||||
|
||||
#include "config.h"
|
||||
#include "MHD_config.h"
|
||||
#include <curl/curl.h>
|
||||
#include <microhttpd.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
@@ -28,7 +28,7 @@
|
||||
* @author Christian Grothoff
|
||||
*/
|
||||
|
||||
#include "config.h"
|
||||
#include "MHD_config.h"
|
||||
#include <curl/curl.h>
|
||||
#include <microhttpd.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
* @author Christian Grothoff
|
||||
*/
|
||||
|
||||
#include "config.h"
|
||||
#include "MHD_config.h"
|
||||
#include <curl/curl.h>
|
||||
#include <microhttpd.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
* @author Christian Grothoff
|
||||
*/
|
||||
|
||||
#include "config.h"
|
||||
#include "MHD_config.h"
|
||||
#include <curl/curl.h>
|
||||
#include <microhttpd.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
* @author Christian Grothoff
|
||||
*/
|
||||
|
||||
#include "config.h"
|
||||
#include "MHD_config.h"
|
||||
#include <curl/curl.h>
|
||||
#include <microhttpd.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
* @author Christian Grothoff (inspired by bug report #1296)
|
||||
*/
|
||||
|
||||
#include "config.h"
|
||||
#include "MHD_config.h"
|
||||
#include <curl/curl.h>
|
||||
#include <microhttpd.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
* @author Christian Grothoff
|
||||
*/
|
||||
|
||||
#include "config.h"
|
||||
#include "MHD_config.h"
|
||||
#include <curl/curl.h>
|
||||
#include <microhttpd.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
* @author Christian Grothoff
|
||||
*/
|
||||
|
||||
#include "config.h"
|
||||
#include "MHD_config.h"
|
||||
#include <curl/curl.h>
|
||||
#include <microhttpd.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
* @author Christian Grothoff
|
||||
*/
|
||||
|
||||
#include "config.h"
|
||||
#include "MHD_config.h"
|
||||
#include <curl/curl.h>
|
||||
#include <microhttpd.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
* @author Christian Grothoff
|
||||
*/
|
||||
|
||||
#include "config.h"
|
||||
#include "MHD_config.h"
|
||||
#include <curl/curl.h>
|
||||
#include <microhttpd.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
* @author Christian Grothoff
|
||||
*/
|
||||
|
||||
#include "config.h"
|
||||
#include "MHD_config.h"
|
||||
#include <curl/curl.h>
|
||||
#include <microhttpd.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
* @author Christian Grothoff
|
||||
*/
|
||||
|
||||
#include "config.h"
|
||||
#include "MHD_config.h"
|
||||
#include <curl/curl.h>
|
||||
#include <microhttpd.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
* @author Christian Grothoff
|
||||
*/
|
||||
|
||||
#include "config.h"
|
||||
#include "MHD_config.h"
|
||||
#include <curl/curl.h>
|
||||
#include <microhttpd.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
* @author Christian Grothoff
|
||||
*/
|
||||
|
||||
#include "config.h"
|
||||
#include "MHD_config.h"
|
||||
#include <curl/curl.h>
|
||||
#include <microhttpd.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
* @author Christian Grothoff
|
||||
*/
|
||||
|
||||
#include "config.h"
|
||||
#include "MHD_config.h"
|
||||
#include <curl/curl.h>
|
||||
#include <microhttpd.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
* @author Christian Grothoff
|
||||
*/
|
||||
|
||||
#include "config.h"
|
||||
#include "MHD_config.h"
|
||||
#include <curl/curl.h>
|
||||
#include <microhttpd.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
* @author Christian Grothoff
|
||||
*/
|
||||
|
||||
#include "config.h"
|
||||
#include "MHD_config.h"
|
||||
#include <curl/curl.h>
|
||||
#include <microhttpd.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
Reference in New Issue
Block a user