You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by GitBox <gi...@apache.org> on 2022/10/17 06:07:26 UTC

[GitHub] [tomcat-connectors] martin-g commented on a diff in pull request #6: Fix Clang 15 compatibility

martin-g commented on code in PR #6:
URL: https://github.com/apache/tomcat-connectors/pull/6#discussion_r996642939


##########
native/configure.ac:
##########
@@ -303,9 +303,11 @@ AC_CHECK_HEADERS(sys/filio.h)
 AC_DEFUN([JK_CHECK_SETSOCKOPT], [
 AC_MSG_CHECKING(whether to use $1 with setsockopt())
 AC_TRY_RUN([
+#include <stdlib.h>
 #include <sys/types.h>
 #include <sys/socket.h>
 #include <sys/time.h>
+#include <stdlib.h>

Review Comment:
   No need of the second include. The one at line 306 should be enough.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org