summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/core/compat.c4
-rw-r--r--src/gen-compat.lua1
-rw-r--r--src/version.h2
3 files changed, 2 insertions, 5 deletions
diff --git a/src/core/compat.c b/src/core/compat.c
index 9f2be98..578d34d 100644
--- a/src/core/compat.c
+++ b/src/core/compat.c
@@ -20,6 +20,4 @@
#include "config.h"
-#include <stdint.h>
-
-#include "core/compat.hh"
+#include "core/compat.h"
diff --git a/src/gen-compat.lua b/src/gen-compat.lua
index 65c40ec..54de9da 100644
--- a/src/gen-compat.lua
+++ b/src/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/src/version.h b/src/version.h
index c53bdf3..30a2a3e 100644
--- a/src/version.h
+++ b/src/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