diff options
Diffstat (limited to 'src/microhttpd/test_client_put_stop.c')
-rw-r--r-- | src/microhttpd/test_client_put_stop.c | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/src/microhttpd/test_client_put_stop.c b/src/microhttpd/test_client_put_stop.c index cda8f1d1..3785599d 100644 --- a/src/microhttpd/test_client_put_stop.c +++ b/src/microhttpd/test_client_put_stop.c | |||
@@ -305,8 +305,12 @@ test_global_init (void) | |||
305 | } | 305 | } |
306 | } | 306 | } |
307 | #endif | 307 | #endif |
308 | #if defined(HAVE_SYSCTL) && defined(CTL_NET) && defined(PF_INET) && \ | 308 | #if defined(HAVE_SYSCTL) && defined(HAVE_DECL_CTL_NET) && \ |
309 | defined(IPPROTO_ICMP) && defined(ICMPCTL_ICMPLIM) | 309 | defined(HAVE_DECL_PF_INET) && defined(HAVE_DECL_IPPROTO_ICMP) && \ |
310 | defined(HAVE_DECL_ICMPCTL_ICMPLIM) | ||
311 | /* Macros may have zero values */ | ||
312 | #if HAVE_DECL_CTL_NET && HAVE_DECL_PF_INET && HAVE_DECL_IPPROTO_ICMP && \ | ||
313 | HAVE_DECL_ICMPCTL_ICMPLIM | ||
310 | if (1) | 314 | if (1) |
311 | { | 315 | { |
312 | int mib[4]; | 316 | int mib[4]; |
@@ -366,8 +370,10 @@ test_global_init (void) | |||
366 | #endif /* _MHD_HEAVY_TESTS */ | 370 | #endif /* _MHD_HEAVY_TESTS */ |
367 | } | 371 | } |
368 | } | 372 | } |
369 | #endif /* HAVE_SYSCTL && CTL_NET && PF_INET && | 373 | #endif /* HAVE_DECL_CTL_NET && HAVE_DECL_PF_INET && HAVE_DECL_IPPROTO_ICMP && \ |
370 | IPPROTO_ICMP && ICMPCTL_ICMPLIM */ | 374 | HAVE_DECL_ICMPCTL_ICMPLIM */ |
375 | #endif /* HAVE_SYSCTL && HAVE_DECL_CTL_NET && HAVE_DECL_PF_INET && | ||
376 | HAVE_DECL_IPPROTO_ICMP && HAVE_DECL_ICMPCTL_ICMPLIM */ | ||
371 | } | 377 | } |
372 | if (MHD_YES != MHD_is_feature_supported (MHD_FEATURE_AUTOSUPPRESS_SIGPIPE)) | 378 | if (MHD_YES != MHD_is_feature_supported (MHD_FEATURE_AUTOSUPPRESS_SIGPIPE)) |
373 | { | 379 | { |