Commit 65b59bd7 authored by Tatsuhiro Tsujikawa's avatar Tatsuhiro Tsujikawa

Include config.h from tests/*.h

parent dcae6efa
......@@ -25,6 +25,10 @@
#ifndef FAILMALLOC_TEST_H
#define FAILMALLOC_TEST_H
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif /* HAVE_CONFIG_H */
void test_nghttp2_session_send(void);
void test_nghttp2_session_recv(void);
void test_nghttp2_frame(void);
......
......@@ -25,6 +25,10 @@
#ifndef MALLOC_WRAPPER_H
#define MALLOC_WRAPPER_H
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif /* HAVE_CONFIG_H */
#include <stdlib.h>
#include "nghttp2_mem.h"
......
......@@ -25,6 +25,10 @@
#ifndef NGHTTP2_BUF_TEST_H
#define NGHTTP2_BUF_TEST_H
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif /* HAVE_CONFIG_H */
void test_nghttp2_bufs_add(void);
void test_nghttp2_bufs_add_stack_buffer_overflow_bug(void);
void test_nghttp2_bufs_addb(void);
......
......@@ -25,6 +25,10 @@
#ifndef NGHTTP2_FRAME_TEST_H
#define NGHTTP2_FRAME_TEST_H
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif /* HAVE_CONFIG_H */
void test_nghttp2_frame_pack_headers(void);
void test_nghttp2_frame_pack_headers_frame_too_large(void);
void test_nghttp2_frame_pack_priority(void);
......
......@@ -25,6 +25,10 @@
#ifndef NGHTTP2_HD_TEST_H
#define NGHTTP2_HD_TEST_H
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif /* HAVE_CONFIG_H */
void test_nghttp2_hd_deflate(void);
void test_nghttp2_hd_deflate_same_indexed_repr(void);
void test_nghttp2_hd_inflate_indexed(void);
......
......@@ -25,6 +25,10 @@
#ifndef NGHTTP2_HELPER_TEST_H
#define NGHTTP2_HELPER_TEST_H
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif /* HAVE_CONFIG_H */
void test_nghttp2_adjust_local_window_size(void);
void test_nghttp2_check_header_name(void);
void test_nghttp2_check_header_value(void);
......
......@@ -25,6 +25,10 @@
#ifndef NGHTTP2_MAP_TEST_H
#define NGHTTP2_MAP_TEST_H
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif /* HAVE_CONFIG_H */
void test_nghttp2_map(void);
void test_nghttp2_map_functional(void);
void test_nghttp2_map_each_free(void);
......
......@@ -22,9 +22,6 @@
* OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
* WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif /* HAVE_CONFIG_H */
#include "nghttp2_npn_test.h"
#include <string.h>
......
......@@ -25,6 +25,10 @@
#ifndef NGHTTP2_NPN_TEST_H
#define NGHTTP2_NPN_TEST_H
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif /* HAVE_CONFIG_H */
void test_nghttp2_npn(void);
#endif /* NGHTTP2_NPN_TEST_H */
......@@ -25,6 +25,10 @@
#ifndef NGHTTP2_PQ_TEST_H
#define NGHTTP2_PQ_TEST_H
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif /* HAVE_CONFIG_H */
void test_nghttp2_pq(void);
void test_nghttp2_pq_update(void);
void test_nghttp2_pq_remove(void);
......
......@@ -25,6 +25,10 @@
#ifndef NGHTTP2_QUEUE_TEST_H
#define NGHTTP2_QUEUE_TEST_H
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif /* HAVE_CONFIG_H */
void test_nghttp2_queue(void);
#endif /* NGHTTP2_QUEUE_TEST_H */
......@@ -25,6 +25,10 @@
#ifndef NGHTTP2_SESSION_TEST_H
#define NGHTTP2_SESSION_TEST_H
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif /* HAVE_CONFIG_H */
void test_nghttp2_session_recv(void);
void test_nghttp2_session_recv_invalid_stream_id(void);
void test_nghttp2_session_recv_invalid_frame(void);
......
......@@ -25,4 +25,8 @@
#ifndef NGHTTP2_STREAM_TEST_H
#define NGHTTP2_STREAM_TEST_H
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif /* HAVE_CONFIG_H */
#endif /* NGHTTP2_STREAM_TEST_H */
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment