Bug#625153: brltty: FTBFS: sys_linux.c:258: undefined reference to `S_ISCHR'
On Mon, May 02, 2011 at 02:41:46PM +0200, Lucas Nussbaum wrote:
> Source: brltty
> Version: 4.2-7
> Severity: serious
> Tags: wheezy sid
> User: debian-qa@lists.debian.org
> Usertags: qa-ftbfs-20110502 qa-ftbfs
> Justification: FTBFS on amd64
>
> Hi,
>
> During a rebuild of all packages in sid, your package failed to build on
> amd64.
>
The attached patch fixes the build issue.
diff --git a/Programs/sys_linux.c b/Programs/sys_linux.c
index e9d6be6..fa0050f 100644
--- a/Programs/sys_linux.c
+++ b/Programs/sys_linux.c
@@ -22,6 +22,7 @@
#include <string.h>
#include <errno.h>
#include <fcntl.h>
+#include <sys/stat.h>
#include <sys/ioctl.h>
#include <linux/kd.h>
Reply to: