You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by ma...@apache.org on 2020/05/04 00:18:56 UTC

[trafficserver] branch master updated: Fix ink_endian.h to include an appropriate header file

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

maskit 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 59ff1d8  Fix ink_endian.h to include an appropriate header file
59ff1d8 is described below

commit 59ff1d8466ec8ccb66b5444cc2a23d335fce3eed
Author: Masakazu Kitajo <ma...@apache.org>
AuthorDate: Fri May 1 08:59:34 2020 +0900

    Fix ink_endian.h to include an appropriate header file
    
    HAVE_XXX_H was not defined on this file because it did not include ink_config.h
---
 include/tscore/ink_endian.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/include/tscore/ink_endian.h b/include/tscore/ink_endian.h
index 866518b..c973fae 100644
--- a/include/tscore/ink_endian.h
+++ b/include/tscore/ink_endian.h
@@ -23,6 +23,8 @@
 
 #pragma once
 
+#include "tscore/ink_config.h"
+
 #ifdef HAVE_SYS_ENDIAN_H
 #include <sys/endian.h>
 #endif