Skip to content

Instantly share code, notes, and snippets.

@Amar1729
Last active December 19, 2022 02:38
Show Gist options
  • Save Amar1729/ce54389a5cf9136a3b16472d7b0a4029 to your computer and use it in GitHub Desktop.
Save Amar1729/ce54389a5cf9136a3b16472d7b0a4029 to your computer and use it in GitHub Desktop.
PATCH: enokey (hivexsh)
diff --git a/sh/hivexsh.c b/sh/hivexsh.c
index b925ddb..8676291 100644
--- a/sh/hivexsh.c
+++ b/sh/hivexsh.c
@@ -27,6 +27,9 @@
#include <unistd.h>
#include <assert.h>
#include <errno.h>
+
+#define ENOKEY 126
+
#include <locale.h>
#ifdef HAVE_LIBINTL_H
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment