--- src/cc/ns_guard.h.orig
+++ src/cc/ns_guard.h
@@ -17,6 +17,7 @@
#pragma once
+#include <sys/types.h>
#include <memory>
#include "file_desc.h"