tlichwala commented on code in PR #11871:
URL: https://github.com/apache/trafficserver/pull/11871#discussion_r1871899632


##########
include/tscore/ink_thread.h:
##########
@@ -30,7 +30,15 @@
 
 #include "tscore/ink_hrtime.h"
 #include "tscore/ink_defs.h"
+#ifndef _GNU_SOURCE
+#define _GNU_SOURCE
+#endif
 #include <sched.h>
+#if TS_USE_HWLOC
+#include <hwloc.h>
+#include <hwloc/glibc-sched.h>

Review Comment:
   The _GNU_SOURCE macro is defined in the CMakeLists.txt file as follows:
   list(APPEND CMAKE_REQUIRED_DEFINITIONS -D_GNU_SOURCE -DATS_BUILD)
   I added the macro in the source code only for testing purposes to ensure 
that it is indeed defined.
   It appears that the error I am encountering is not related to the numa.h 
library but rather to hwloc.
   Thank you for your suggestion. If you have any further insights or 
recommendations, I would appreciate it.



-- 
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: github-unsubscr...@trafficserver.apache.org

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

Reply via email to