wreadln: add missing include for errno
authorMax Kellermann <max@musicpd.org>
Wed, 10 Apr 2019 07:03:46 +0000 (09:03 +0200)
committerMax Kellermann <max@musicpd.org>
Wed, 10 Apr 2019 07:03:46 +0000 (09:03 +0200)
Fixes regression by 79b967b6ed274fd765d7cc155286208f5c9491e4

src/wreadln.cxx

index 853adfd..c645188 100644 (file)
@@ -33,6 +33,7 @@
 
 #ifndef _WIN32
 #include "WaitUserInput.hxx"
+#include <errno.h>
 #endif
 
 #define KEY_CTRL_A   1