#pragma once
-#include <config.h>
+#include <mem_config.h>
#ifdef __cplusplus
# include <cstddef>
# include "poll/poll.h"
#endif
+#ifndef POLLHUP
+# define POLLHUP 0x0010
+#endif
+
+#ifndef POLLNVAL
+# define POLLNVAL 0x0020
+#endif
+
#ifdef __cplusplus
extern "C" {
#endif