httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jchamp...@apache.org
Subject svn commit: r1796205 - in /httpd/httpd/branches/httpdunit/test: httpdunit.c httpdunit.h
Date Thu, 25 May 2017 21:18:37 GMT
Author: jchampion
Date: Thu May 25 21:18:36 2017
New Revision: 1796205

URL: http://svn.apache.org/viewvc?rev=1796205&view=rev
Log:
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.

Modified:
    httpd/httpd/branches/httpdunit/test/httpdunit.c
    httpd/httpd/branches/httpdunit/test/httpdunit.h

Modified: httpd/httpd/branches/httpdunit/test/httpdunit.c
URL: http://svn.apache.org/viewvc/httpd/httpd/branches/httpdunit/test/httpdunit.c?rev=1796205&r1=1796204&r2=1796205&view=diff
==============================================================================
--- httpd/httpd/branches/httpdunit/test/httpdunit.c (original)
+++ httpd/httpd/branches/httpdunit/test/httpdunit.c Thu May 25 21:18:36 2017
@@ -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"

Modified: httpd/httpd/branches/httpdunit/test/httpdunit.h
URL: http://svn.apache.org/viewvc/httpd/httpd/branches/httpdunit/test/httpdunit.h?rev=1796205&r1=1796204&r2=1796205&view=diff
==============================================================================
--- httpd/httpd/branches/httpdunit/test/httpdunit.h (original)
+++ httpd/httpd/branches/httpdunit/test/httpdunit.h Thu May 25 21:18:36 2017
@@ -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"
 
 /*



Mime
View raw message