aboutsummaryrefslogtreecommitdiff
path: root/libexec/flua/libhash/lhash.c
diff options
context:
space:
mode:
Diffstat (limited to 'libexec/flua/libhash/lhash.c')
-rw-r--r--libexec/flua/libhash/lhash.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/libexec/flua/libhash/lhash.c b/libexec/flua/libhash/lhash.c
index 4587961fe8a0..f455f006bf27 100644
--- a/libexec/flua/libhash/lhash.c
+++ b/libexec/flua/libhash/lhash.c
@@ -11,6 +11,8 @@
#include <sha256.h>
#include <string.h>
+#include "bootstrap.h"
+
#define SHA256_META "SHA256 meta table"
#define SHA256_DIGEST_LEN 32
@@ -175,3 +177,7 @@ luaopen_hash(lua_State *L)
return 1;
}
+
+#ifndef _STANDALONE
+FLUA_MODULE(hash);
+#endif