This is an automated email from the ASF dual-hosted git repository.

zwoop pushed a commit to branch 6.1.x
in repository https://git-dual.apache.org/repos/asf/trafficserver.git

commit ceccf32e3f73cb2da8a712f9034b4e3e79b93faa
Author: Leif Hedstrom <[email protected]>
AuthorDate: Sat Mar 26 17:44:43 2016 -0600

    TS-4307 Checks for existence of alloca.h consistently
    
    (cherry picked from commit f39a0c4a8e77b24d03a503c34a3671345c074d6b)
---
 iocore/eventsystem/UnixEventProcessor.cc | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/iocore/eventsystem/UnixEventProcessor.cc 
b/iocore/eventsystem/UnixEventProcessor.cc
index a7d5395..90b005b 100644
--- a/iocore/eventsystem/UnixEventProcessor.cc
+++ b/iocore/eventsystem/UnixEventProcessor.cc
@@ -24,7 +24,9 @@
 #include "P_EventSystem.h" /* MAGIC_EDITING_TAG */
 #include <sched.h>
 #if TS_USE_HWLOC
+#if HAVE_ALLOCA_H
 #include <alloca.h>
+#endif
 #include <hwloc.h>
 #endif
 #include "ts/ink_defs.h"

-- 
To stop receiving notification emails like this one, please contact
"[email protected]" <[email protected]>.

Reply via email to