cgit: Added cgit 0.7.3-c502865 - A CGI for git written in C
[opensde-package-nopast.git] / lua / lualdap / lualdap-5.1-compat.patch
blob5c01434874a5e16d4a54fe7e12524d2c0db4afd7
1 # --- SDE-COPYRIGHT-NOTE-BEGIN ---
2 # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
4 # Filename: package/.../lualdap/lualdap-5.1-compat.patch
5 # Copyright (C) 2007 The OpenSDE Project
7 # More information can be found in the files COPYING and README.
9 # This patch file is dual-licensed. It is available under the license the
10 # patched project is licensed under, as long as it is an OpenSource license
11 # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
12 # of the GNU General Public License as published by the Free Software
13 # Foundation; either version 2 of the License, or (at your option) any later
14 # version.
15 # --- SDE-COPYRIGHT-NOTE-END ---
17 --- lualdap/src/lualdap.c 2006/04/04 20:11:51 1.44
18 +++ lualdap/src/lualdap.c 2006/07/24 01:36:51 1.45
19 @@ -1,7 +1,7 @@
21 ** LuaLDAP
22 ** See Copyright Notice in license.html
23 -** $Id: lualdap.c,v 1.44 2006/04/04 20:11:51 carregal Exp $
24 +** $Id: lualdap.c,v 1.45 2006/07/24 01:36:51 tomas Exp $
27 #include <stdlib.h>
28 @@ -16,8 +16,9 @@
30 #include "lua.h"
31 #include "lauxlib.h"
32 +#if ! defined (LUA_VERSION_NUM) || LUA_VERSION_NUM < 501
33 #include "compat-5.1.h"
35 +#endif
37 #define LUALDAP_PREFIX "LuaLDAP: "
38 #define LUALDAP_TABLENAME "lualdap"