aboutsummaryrefslogtreecommitdiff
path: root/src/linux/eventfd.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/linux/eventfd.c')
-rw-r--r--src/linux/eventfd.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/linux/eventfd.c b/src/linux/eventfd.c
index 68e489c8..8dd9adc9 100644
--- a/src/linux/eventfd.c
+++ b/src/linux/eventfd.c
@@ -21,3 +21,11 @@ int eventfd_write(int fd, eventfd_t value)
{
return (sizeof(value) == write(fd, &value, sizeof(value))) ? 0 : -1;
}
+
+
+#ifdef TEST
+int
+main(void) {
+ return 0;
+}
+#endif