--- a/src/resume/client.c	2013-12-01 02:38:43.000000000 +0530
+++ a/src/resume/client.c	2018-11-09 20:20:25.589477188 +0530
@@ -15,6 +15,7 @@
 #include <sys/file.h>
 #include <sys/socket.h>
 #include <unistd.h>
+#include <fcntl.h>
 
 #include "../config.h"
 #include "../instance_client.h"
