trafficserver-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From iga...@apache.org
Subject [2/3] git commit: Make ATS compile on Solaris again
Date Thu, 20 Sep 2012 15:19:56 GMT
Make ATS compile on Solaris again

extend this #if with || defined(solaris)
TODO: How do we fix it on OS X/FreeBSD?


Project: http://git-wip-us.apache.org/repos/asf/trafficserver/repo
Commit: http://git-wip-us.apache.org/repos/asf/trafficserver/commit/d1d707be
Tree: http://git-wip-us.apache.org/repos/asf/trafficserver/tree/d1d707be
Diff: http://git-wip-us.apache.org/repos/asf/trafficserver/diff/d1d707be

Branch: refs/heads/master
Commit: d1d707be52eb9026f7568e4496d12ed95ad580fd
Parents: 97fd7b5
Author: Igor Galić <i.galic@brainsware.org>
Authored: Thu Sep 20 17:16:51 2012 +0200
Committer: Igor Galić <i.galic@brainsware.org>
Committed: Thu Sep 20 17:16:51 2012 +0200

----------------------------------------------------------------------
 cop/TrafficCop.cc |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/trafficserver/blob/d1d707be/cop/TrafficCop.cc
----------------------------------------------------------------------
diff --git a/cop/TrafficCop.cc b/cop/TrafficCop.cc
index f31fd5d..5817886 100644
--- a/cop/TrafficCop.cc
+++ b/cop/TrafficCop.cc
@@ -27,7 +27,7 @@
 #include "mgmtapi.h"
 #include "ClusterCom.h"
 
-#if defined(linux)
+#if defined(linux) || defined (solaris)
 #include "sys/utsname.h"
 #include "ink_killall.h"
 #include <sys/types.h>


Mime
View raw message