mirror of
https://github.com/apache/httpd.git
synced 2025-07-29 12:37:06 +00:00
httpdunit: include .h to avoid code duplication.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1810761 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@ -14,23 +14,7 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "apr.h" /* for pid_t on Windows, needed by Check */
|
#include "httpdunit.h"
|
||||||
|
|
||||||
#if defined(__GNUC__)
|
|
||||||
#pragma GCC diagnostic push
|
|
||||||
#pragma GCC diagnostic ignored "-Wstrict-prototypes"
|
|
||||||
#elif defined(__clang__)
|
|
||||||
#pragma clang diagnostic push
|
|
||||||
#pragma clang diagnostic ignored "-Wstrict-prototypes"
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#include "check.h"
|
|
||||||
|
|
||||||
#if defined(__GNUC__)
|
|
||||||
#pragma GCC diagnostic pop
|
|
||||||
#elif defined(__clang__)
|
|
||||||
#pragma clang diagnostic pop
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#include "apr_general.h"
|
#include "apr_general.h"
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user