Include stdio.h to workaround error due to legacy CUnit snprintf macro

This commit is contained in:
Tatsuhiro Tsujikawa 2023-04-21 17:46:06 +09:00
parent caf9d3abd5
commit 8610758e14
11 changed files with 19 additions and 2 deletions

View File

@ -24,11 +24,11 @@
*/
#include "failmalloc_test.h"
#include <CUnit/CUnit.h>
#include <stdio.h>
#include <assert.h>
#include <CUnit/CUnit.h>
#include "nghttp2_session.h"
#include "nghttp2_stream.h"
#include "nghttp2_frame.h"

View File

@ -24,6 +24,8 @@
*/
#include "nghttp2_buf_test.h"
#include <stdio.h>
#include <CUnit/CUnit.h>
#include "nghttp2_buf.h"

View File

@ -25,6 +25,8 @@
*/
#include "nghttp2_extpri_test.h"
#include <stdio.h>
#include <CUnit/CUnit.h>
#include "nghttp2_extpri.h"

View File

@ -24,6 +24,8 @@
*/
#include "nghttp2_helper_test.h"
#include <stdio.h>
#include <CUnit/CUnit.h>
#include "nghttp2_helper.h"

View File

@ -25,6 +25,7 @@
*/
#include "nghttp2_http_test.h"
#include <stdio.h>
#include <assert.h>
#include <CUnit/CUnit.h>

View File

@ -25,6 +25,8 @@
*/
#include "nghttp2_map_test.h"
#include <stdio.h>
#include <CUnit/CUnit.h>
#include "nghttp2_map.h"

View File

@ -24,6 +24,7 @@
*/
#include "nghttp2_npn_test.h"
#include <stdio.h>
#include <string.h>
#include <CUnit/CUnit.h>

View File

@ -24,6 +24,8 @@
*/
#include "nghttp2_pq_test.h"
#include <stdio.h>
#include <CUnit/CUnit.h>
#include "nghttp2_pq.h"

View File

@ -24,6 +24,8 @@
*/
#include "nghttp2_queue_test.h"
#include <stdio.h>
#include <CUnit/CUnit.h>
#include "nghttp2_queue.h"

View File

@ -24,6 +24,8 @@
*/
#include "nghttp2_stream_test.h"
#include <stdio.h>
#include <CUnit/CUnit.h>
#include "nghttp2_stream.h"

View File

@ -24,6 +24,7 @@
*/
#include "nghttp2_test_helper.h"
#include <stdio.h>
#include <assert.h>
#include <CUnit/CUnit.h>