trafficserver-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From zw...@apache.org
Subject [1/3] git commit: TS-1437 Make the Lua plugin compile on RedHat based distros.
Date Tue, 04 Sep 2012 18:48:13 GMT
Updated Branches:
  refs/heads/master f962cd1cd -> 82712065b


TS-1437 Make the Lua plugin compile on RedHat based distros.


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

Branch: refs/heads/master
Commit: 82712065b792073e24334f39a2be90808d7a38e8
Parents: 7b5c099
Author: Leif Hedstrom <zwoop@apache.org>
Authored: Tue Sep 4 12:47:00 2012 -0600
Committer: Leif Hedstrom <zwoop@apache.org>
Committed: Tue Sep 4 12:47:00 2012 -0600

----------------------------------------------------------------------
 CHANGES                           |    2 ++
 plugins/experimental/lua/lutil.cc |    1 +
 2 files changed, 3 insertions(+), 0 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/trafficserver/blob/82712065/CHANGES
----------------------------------------------------------------------
diff --git a/CHANGES b/CHANGES
index 060a1f1..e655f30 100644
--- a/CHANGES
+++ b/CHANGES
@@ -1,6 +1,8 @@
                                                          -*- coding: utf-8 -*-
 Changes with Apache Traffic Server 3.3.0
 
+  *) [TS-1437] Make the Lua plugin compile on RedHat based distros.
+
   *) [TS-1436] Added Yahoo directory layout for installation.
 
   *) [TS-1418] Add automake file to Metalink plugin. Author: Jack Bates.

http://git-wip-us.apache.org/repos/asf/trafficserver/blob/82712065/plugins/experimental/lua/lutil.cc
----------------------------------------------------------------------
diff --git a/plugins/experimental/lua/lutil.cc b/plugins/experimental/lua/lutil.cc
index 99e1f77..50586be 100644
--- a/plugins/experimental/lua/lutil.cc
+++ b/plugins/experimental/lua/lutil.cc
@@ -21,6 +21,7 @@
 #include "lapi.h"
 #include "lutil.h"
 #include <pthread.h>
+#include <unistd.h>
 
 static thread_local_pointer<LuaThreadInstance> LuaThread;
 LuaPluginState * LuaPlugin;


Mime
View raw message