The patch fixes the following build warnings:

zathura.c: In function ‘prepare_document_open_from_stdin’:
zathura.c:306: warning: implicit declaration of function ‘close’
zathura.c:314: warning: implicit declaration of function ‘read’
zathura.c:316: warning: implicit declaration of function ‘write’

Signed-off-by: Pavel Borzenkov <pavel.borzen...@gmail.com>
---
 zathura.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/zathura.c b/zathura.c
index d5ee0da..38ca5ac 100644
--- a/zathura.c
+++ b/zathura.c
@@ -4,6 +4,7 @@
 #define _XOPEN_SOURCE 500
 
 #include <stdlib.h>
+#include <unistd.h>
 
 #include <girara.h>
 #include <glib/gstdio.h>
-- 
1.7.0.4

_______________________________________________
zathura mailing list
zathura@lists.pwmt.org
http://lists.pwmt.org/mailman/listinfo/zathura

Reply via email to