diff --git a/slurm/slurm.h.in b/slurm/slurm.h.in
index 4459426aced4ee4236d29c2ff007a15f0a9be129..fbb2e37007085d36e1b3a3b28b424028af0f569a 100644
--- a/slurm/slurm.h.in
+++ b/slurm/slurm.h.in
@@ -1015,6 +1015,8 @@ enum ctx_keys {
 #define SPREAD_JOB         0x00000100	/* Spread job across max node count */
 #define USE_MIN_NODES      0x00000200	/* Prefer minimum node count */
 #define JOB_KILL_HURRY     0x00000400	/* Avoid burst buffer stage out */
+#define TRES_STR_CALC      0x00000800   /* Avoid calculating TRES strings at the
+					 * end of a job. */
 
 /*****************************************************************************\
  *      SLURM HOSTLIST FUNCTIONS