diff --git a/testsuite/expect/test33.1.prog.c b/testsuite/expect/test33.1.prog.c
index 5e88334234fcc5fd522d7d3c0d390d2022c788b3..666b72fa5cdefd84704cf146e02e21d42b030e02 100644
--- a/testsuite/expect/test33.1.prog.c
+++ b/testsuite/expect/test33.1.prog.c
@@ -52,6 +52,8 @@
 
 #include "src/common/getopt.h"
 #include "src/common/hostlist.h"
+#include "src/common/macros.h"
+#include "src/common/slurm_protocol_socket_common.h"
 #include "src/common/slurm_route.h"
 #include "src/common/timers.h"
 #include "src/common/xmalloc.h"