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:
Yann Ylavic
2017-10-03 09:33:17 +00:00
parent 21857e40fa
commit a01e89c885

View File

@ -14,23 +14,7 @@
* limitations under the License.
*/
#include "apr.h" /* for pid_t on Windows, needed by Check */
#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 "httpdunit.h"
#include "apr_general.h"