You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by bn...@apache.org on 2021/09/22 19:55:08 UTC

[trafficserver] branch master updated: Add include to BufferWriterForward.h (#8345)

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

bneradt pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/trafficserver.git


The following commit(s) were added to refs/heads/master by this push:
     new 4507d5e  Add <limits> include to BufferWriterForward.h (#8345)
4507d5e is described below

commit 4507d5e1167cb39837572017e72e096ad7b438fd
Author: Brian Neradt <br...@gmail.com>
AuthorDate: Wed Sep 22 14:54:04 2021 -0500

    Add <limits> include to BufferWriterForward.h (#8345)
    
    Adding the include of <limits> in BufferWriterForward.h because it uses
    numeric_limits. Certain compilers require this.
    
    Fixes: #8342
---
 include/tscore/BufferWriterForward.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/include/tscore/BufferWriterForward.h b/include/tscore/BufferWriterForward.h
index 50faa9e..8da67c6 100644
--- a/include/tscore/BufferWriterForward.h
+++ b/include/tscore/BufferWriterForward.h
@@ -24,6 +24,7 @@
 #pragma once
 
 #include <cstdlib>
+#include <limits>
 #include <utility>
 #include <cstring>
 #include <vector>