novi upstream verzije 2.8.3
[ossec-hids.git] / src / external / lua-5.2.3 / src / lfs.h
diff --git a/src/external/lua-5.2.3/src/lfs.h b/src/external/lua-5.2.3/src/lfs.h
new file mode 100644 (file)
index 0000000..4b52780
--- /dev/null
@@ -0,0 +1,17 @@
+/*
+** LuaFileSystem
+** Copyright Kepler Project 2003 (http://www.keplerproject.org/luafilesystem)
+**
+** $Id: lfs.h,v 1.5 2008/02/19 20:08:23 mascarenhas Exp $
+*/
+
+/* Define 'chdir' for systems that do not implement it */
+#ifdef NO_CHDIR
+#define chdir(p)       (-1)
+#define chdir_error    "Function 'chdir' not provided by system"
+#else
+#define chdir_error    strerror(errno)
+#endif
+
+
+int luaopen_lfs (lua_State *L);