You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by ez...@apache.org on 2022/08/09 05:26:26 UTC

[trafficserver] branch 8.1.x updated: Fixes for 8.1.x make checks (#9017)

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

eze pushed a commit to branch 8.1.x
in repository https://gitbox.apache.org/repos/asf/trafficserver.git


The following commit(s) were added to refs/heads/8.1.x by this push:
     new e16c8d26d Fixes for 8.1.x make checks (#9017)
e16c8d26d is described below

commit e16c8d26d0e2d4aa497caa5f579ceb4afb398ca0
Author: Evan Zelkowitz <ez...@apache.org>
AuthorDate: Mon Aug 8 23:26:20 2022 -0600

    Fixes for 8.1.x make checks (#9017)
    
    Add string and cstring includes
    add @LIBTCL@ to fix linking
---
 proxy/hdrs/Makefile.am             | 2 +-
 proxy/hdrs/unit_tests/test_Hdrs.cc | 2 ++
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/proxy/hdrs/Makefile.am b/proxy/hdrs/Makefile.am
index a84429b67..49ec63b8d 100644
--- a/proxy/hdrs/Makefile.am
+++ b/proxy/hdrs/Makefile.am
@@ -92,7 +92,7 @@ test_proxy_hdrs_LDADD = \
 	$(top_builddir)/mgmt/libmgmt_p.la \
 	$(top_builddir)/proxy/shared/libUglyLogStubs.a \
 	@HWLOC_LIBS@ \
-	@LIBCAP@
+	@LIBTCL@ @LIBCAP@
 
 test_mime_LDADD = -L. -lhdrs \
 	$(top_builddir)/src/tscore/libtscore.la \
diff --git a/proxy/hdrs/unit_tests/test_Hdrs.cc b/proxy/hdrs/unit_tests/test_Hdrs.cc
index 5e63dea2a..7990f3e36 100644
--- a/proxy/hdrs/unit_tests/test_Hdrs.cc
+++ b/proxy/hdrs/unit_tests/test_Hdrs.cc
@@ -20,6 +20,8 @@
  */
 
 #include <cstdio>
+#include <string>
+#include <cstring>
 
 #include "catch.hpp"