diff options
author | Jacob Champion <jchampion@apache.org> | 2017-05-25 23:18:36 +0200 |
---|---|---|
committer | Jacob Champion <jchampion@apache.org> | 2017-05-25 23:18:36 +0200 |
commit | 589866e7e5e09513a6ef9617c1758623a1de8ddc (patch) | |
tree | b64b217d86bd7d42219f819a4b5e6466b9a44321 /test | |
parent | httpdunit: simplify test case generation (diff) | |
download | apache2-589866e7e5e09513a6ef9617c1758623a1de8ddc.tar.xz apache2-589866e7e5e09513a6ef9617c1758623a1de8ddc.zip |
httpdunit: fix check.h on Windows
Check seems to have trouble with type definitions when using a
CMake+Windows toolchain. Include apr.h before check.h to ensure pid_t
exists.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/httpdunit@1796205 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'test')
-rw-r--r-- | test/httpdunit.c | 1 | ||||
-rw-r--r-- | test/httpdunit.h | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/test/httpdunit.c b/test/httpdunit.c index ac661218c4..1e7582353a 100644 --- a/test/httpdunit.c +++ b/test/httpdunit.c @@ -14,6 +14,7 @@ * limitations under the License. */ +#include "apr.h" /* for pid_t on Windows, needed by Check */ #include "check.h" #include "apr_general.h" diff --git a/test/httpdunit.h b/test/httpdunit.h index eddb9569a5..2fdee36e65 100644 --- a/test/httpdunit.h +++ b/test/httpdunit.h @@ -33,6 +33,7 @@ * using a similar generate-stub-and-include process. */ +#include "apr.h" /* for pid_t on Windows, needed by Check */ #include "check.h" /* |