diff options
author | Alexander Borisov <alexander.borisov@nginx.com> | 2018-12-19 15:56:54 +0300 |
---|---|---|
committer | Alexander Borisov <alexander.borisov@nginx.com> | 2018-12-19 15:56:54 +0300 |
commit | c55f329ecf8d32bad0d5bc2aae1da1522b3a92f8 (patch) | |
tree | 5b9c5aaf624e9feec60dd332aa32ec414c88c234 /src | |
parent | ab461437b5714d75e710febe3b44da49ebfe83fc (diff) | |
download | unit-c55f329ecf8d32bad0d5bc2aae1da1522b3a92f8.tar.gz unit-c55f329ecf8d32bad0d5bc2aae1da1522b3a92f8.tar.bz2 |
libunit: added generation of version header file.
Diffstat (limited to 'src')
-rw-r--r-- | src/nodejs/unit-http/binding.gyp | 2 | ||||
-rw-r--r-- | src/nxt_unit.h | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/src/nodejs/unit-http/binding.gyp b/src/nodejs/unit-http/binding.gyp index 171c2eb7..ee09bfed 100644 --- a/src/nodejs/unit-http/binding.gyp +++ b/src/nodejs/unit-http/binding.gyp @@ -3,7 +3,7 @@ 'target_name': "unit-http", 'sources': ["unit.cpp", "addon.cpp"], 'include_dirs': [ - "<!(echo $UNIT_SRC_PATH)" + "<!(echo $UNIT_SRC_PATH)", "<!(echo $UNIT_BUILD_PATH)" ], 'libraries': [ "<!(echo $UNIT_LIB_STATIC_PATH)" diff --git a/src/nxt_unit.h b/src/nxt_unit.h index 2806d035..a3fcc541 100644 --- a/src/nxt_unit.h +++ b/src/nxt_unit.h @@ -11,8 +11,10 @@ #include <sys/types.h> #include <string.h> +#include "nxt_unit_version.h" #include "nxt_unit_typedefs.h" + enum { NXT_UNIT_OK = 0, NXT_UNIT_ERROR = 1, |