Don't close the fd if libinput_add_fd() fails
[platform/upstream/libinput.git] / src / libinput-util.c
index 9d9d4dd..eeb9786 100644 (file)
 
 #include "config.h"
 
+#include <stdarg.h>
+#include <stdio.h>
+#include <stdlib.h>
+
+#include "libinput-util.h"
 #include "libinput-private.h"
 
 void