diff --git a/maestro/core.c b/maestro/core.c
index 3c9ea116bce383ef875a7b0a9bef5b6e44cd607b..ddc539c2de5f8abffd506aaebaf6317a54e847fd 100644
--- a/maestro/core.c
+++ b/maestro/core.c
@@ -49,6 +49,7 @@
 #include <inttypes.h>
 #include <string.h>
 #include <assert.h>
+#include <sys/resource.h>
 
 #include "maestro/i_state.h"
 #include "transport/transport.h"