You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by ig...@apache.org on 2013/01/15 22:27:47 UTC

git commit: Make ATS compile on Solaris again

Updated Branches:
  refs/heads/3.2.x 751a8def2 -> 2069448fe


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/2069448f
Tree: http://git-wip-us.apache.org/repos/asf/trafficserver/tree/2069448f
Diff: http://git-wip-us.apache.org/repos/asf/trafficserver/diff/2069448f

Branch: refs/heads/3.2.x
Commit: 2069448fea664161a29891f1db46de4e9c05fb78
Parents: 751a8de
Author: Igor Galić <i....@brainsware.org>
Authored: Thu Sep 20 17:16:51 2012 +0200
Committer: Igor Galić <i....@brainsware.org>
Committed: Tue Jan 15 22:26:36 2013 +0100

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


http://git-wip-us.apache.org/repos/asf/trafficserver/blob/2069448f/cop/TrafficCop.cc
----------------------------------------------------------------------
diff --git a/cop/TrafficCop.cc b/cop/TrafficCop.cc
index aa9b960..63d9b62 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 <sys/types.h>
 #include <sys/ipc.h>


Re: git commit: Make ATS compile on Solaris again

Posted by Igor Galić <i....@brainsware.org>.
I pushed this patch without the usual approval process
through STATUS, because it's very trivial and concerns
only one platform.

----- Original Message -----
From: igalic@apache.org
To: commits@trafficserver.apache.org
Sent: Tuesday, January 15, 2013 10:27:47 PM
Subject: git commit: Make ATS compile on Solaris again

Updated Branches:
  refs/heads/3.2.x 751a8def2 -> 2069448fe


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/2069448f
Tree: http://git-wip-us.apache.org/repos/asf/trafficserver/tree/2069448f
Diff: http://git-wip-us.apache.org/repos/asf/trafficserver/diff/2069448f

Branch: refs/heads/3.2.x
Commit: 2069448fea664161a29891f1db46de4e9c05fb78
Parents: 751a8de
Author: Igor Gali�� <i....@brainsware.org>
Authored: Thu Sep 20 17:16:51 2012 +0200
Committer: Igor Gali�� <i....@brainsware.org>
Committed: Tue Jan 15 22:26:36 2013 +0100

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


http://git-wip-us.apache.org/repos/asf/trafficserver/blob/2069448f/cop/TrafficCop.cc
----------------------------------------------------------------------
diff --git a/cop/TrafficCop.cc b/cop/TrafficCop.cc
index aa9b960..63d9b62 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 <sys/types.h>
 #include <sys/ipc.h>


-- 
Igor Galić

Tel: +43 (0) 664 886 22 883
Mail: i.galic@brainsware.org
URL: http://brainsware.org/
GPG: 6880 4155 74BD FD7C B515  2EA5 4B1D 9E08 A097 C9AE