diff --git a/src/plugins/acct_gather_energy/cray/acct_gather_energy_cray.c b/src/plugins/acct_gather_energy/cray/acct_gather_energy_cray.c
index c803d82d0ee3921b3bfd278ba7fd929f68040c55..3af815d813647624dc88909e7e419e0c817117bd 100644
--- a/src/plugins/acct_gather_energy/cray/acct_gather_energy_cray.c
+++ b/src/plugins/acct_gather_energy/cray/acct_gather_energy_cray.c
@@ -83,6 +83,8 @@ enum {
 	GET_POWER
 };
 
+extern void acct_gather_energy_p_conf_set(s_p_hashtbl_t *tbl);
+
 static uint32_t _get_latest_stats(int type)
 {
 	uint32_t data = 0;