We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b530b0f commit bf01c46Copy full SHA for bf01c46
generate/templates/templates/nodegit.cc
@@ -1,13 +1,18 @@
1
// This is a generated file, modify: generate/templates/nodegit.cc.
2
#include <v8.h>
3
+
4
#include <node.h>
5
#include <git2.h>
6
#include <map>
7
#include <algorithm>
8
#include <set>
9
-#include <libssh2.h>
10
#include <openssl/crypto.h>
11
+// we have to include <libssh2.h> first so it defines ssize_t
12
+// and then node.h with _SSIZE_T_ defined to prevent it from redefining
13
+// in a conflicting way on 32 bit windows
14
+#define ssize_t ssize_t
15
+#include <libssh2.h>
16
17
#include "../include/lock_master.h"
18
#include "../include/wrapper.h"
0 commit comments