Export the workpadding char in miner.h
diff --git a/cgminer.c b/cgminer.c
index 891fc2c..6cd69e9 100644
--- a/cgminer.c
+++ b/cgminer.c
@@ -1686,7 +1686,7 @@ static void update_gbt(struct pool *pool)
curl_easy_cleanup(curl);
}
-static char *workpadding = "000000800000000000000000000000000000000000000000000000000000000000000000000000000000000080020000";
+char *workpadding = "000000800000000000000000000000000000000000000000000000000000000000000000000000000000000080020000";
static void gen_gbt_work(struct pool *pool, struct work *work)
{
diff --git a/miner.h b/miner.h
index 43c7f10..68f6290 100644
--- a/miner.h
+++ b/miner.h
@@ -1036,6 +1036,7 @@ extern char *current_fullhash;
extern double current_diff;
extern uint64_t best_diff;
extern struct timeval block_timeval;
+extern char *workpadding;
#ifdef HAVE_OPENCL
typedef struct {