summaryrefslogtreecommitdiffstats
path: root/include/dnsjit
diff options
context:
space:
mode:
Diffstat (limited to 'include/dnsjit')
-rw-r--r--include/dnsjit/core/compat.c4
-rw-r--r--include/dnsjit/gen-compat.lua1
-rw-r--r--include/dnsjit/version.h2
3 files changed, 2 insertions, 5 deletions
diff --git a/include/dnsjit/core/compat.c b/include/dnsjit/core/compat.c
index 9f2be98..578d34d 100644
--- a/include/dnsjit/core/compat.c
+++ b/include/dnsjit/core/compat.c
@@ -20,6 +20,4 @@
#include "config.h"
-#include <stdint.h>
-
-#include "core/compat.hh"
+#include "core/compat.h"
diff --git a/include/dnsjit/gen-compat.lua b/include/dnsjit/gen-compat.lua
index 65c40ec..54de9da 100644
--- a/include/dnsjit/gen-compat.lua
+++ b/include/dnsjit/gen-compat.lua
@@ -27,7 +27,6 @@ code, err = pcall(function()
]]
end)
if code then
- print("#include <unistd.h>")
print("typedef ssize_t luajit_ssize_t;")
else
print("typedef long luajit_ssize_t;")
diff --git a/include/dnsjit/version.h b/include/dnsjit/version.h
index c53bdf3..30a2a3e 100644
--- a/include/dnsjit/version.h
+++ b/include/dnsjit/version.h
@@ -23,6 +23,6 @@
#define DNSJIT_MAJOR_VERSION 1
#define DNSJIT_MINOR_VERSION 2
-#define DNSJIT_PATCH_VERSION 1
+#define DNSJIT_PATCH_VERSION 2
#endif