JosiahWI commented on PR #9905:
URL: https://github.com/apache/trafficserver/pull/9905#issuecomment-1607435676

   I took a closer look; it looks like we don't check this yet in CMake, but we 
probably should. We might want to make our own function:
   ```cmake
   include(CheckIncludeFile)
   function(REQUIRE_SYSTEM_HEADER HEADER)
       check_include_file("${HEADER}" HAVE_HEADER)
       if(NOT HAVE_HEADER)
           message(FATAL_ERROR "Missing system header ${HEADER}")
       endif()
   endfunction()
   
   # sendmsg, recvmsg, bunch of other stuff
   require_system_header("sys/socket.h")
   ```
   
   That's a little bigger change than I anticipated; if you don't want to do it 
in this PR I could do it afterwards.


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to