diff --git a/src/common/plugstack.c b/src/common/plugstack.c
index ef8e6ca972156f15a5d564c706fcbc3f2cea2dc1..488f02608019a8563d13f2c2791a7c9ae0262e16 100644
--- a/src/common/plugstack.c
+++ b/src/common/plugstack.c
@@ -115,8 +115,6 @@ struct spank_plugin {
  *  SPANK Plugin options
  */
 
-#define SPANK_OPTION_ENV_PREFIX "_SLURM_SPANK_OPTION_"
-
 struct spank_plugin_opt {
 	struct spank_option *opt;   /* Copy of plugin option info           */
 	struct spank_plugin *plugin;/* Link back to plugin structure        */
diff --git a/src/common/plugstack.h b/src/common/plugstack.h
index a2b35e584c3acf543aeb5af64be2d85f0e0c80d6..11876c14dc11381f105257c3bc1d3be527357a8e 100644
--- a/src/common/plugstack.h
+++ b/src/common/plugstack.h
@@ -47,6 +47,8 @@
 #include "src/common/job_options.h"
 #include "src/slurmd/slurmstepd/slurmstepd_job.h"
 
+#define SPANK_OPTION_ENV_PREFIX "_SLURM_SPANK_OPTION_"
+
 struct spank_launcher_job_info {
 	uid_t       uid;
 	gid_t       gid;