Source: fbterm
Version: 1.7-4
Severity: minor
Tags: patch upstream
User: helm...@debian.org
Usertags: rebootstrap

fbio.cpp does not #include <sys/select.h> before using fd_set and
friends. That's a bug. The attached patch fixes that. On all release
architectures, this is irrelevant as they use epoll.

Helmut
--- fbterm-1.7.orig/src/fbio.cpp
+++ fbterm-1.7/src/fbio.cpp
@@ -30,6 +30,7 @@
 #define NR_EPOLL_FDS 10
 s32 epollFd;
 #else
+#include <sys/select.h>
 static fd_set fds;
 static u32 maxfd = 0;
 #endif

Reply via email to