Skip to content

Commit

Permalink
Merge pull request #31 from tagattie/main
Browse files Browse the repository at this point in the history
Fix build on FreeBSD 12
  • Loading branch information
alexdima committed Nov 26, 2021
2 parents 4fcaf4a + e7dac93 commit 9aafcdb
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/keymapping.h
Expand Up @@ -12,6 +12,10 @@
#include <vector>
#include "../deps/chromium/keyboard_codes.h"

#if defined(__unix__)
#include <pthread.h>
#endif

#define CHECK_OK(x) if (x != napi_ok) return NULL

namespace vscode_keyboard {
Expand Down Expand Up @@ -57,4 +61,4 @@ napi_value napi_fetch_boolean(napi_env env, bool value);

} // namespace vscode_keyboard

#endif // KEYMAPPING_H_
#endif // KEYMAPPING_H_

0 comments on commit 9aafcdb

Please sign in to comment.