termux-packages/packages/joe/fix_errno.patch
2016-12-31 12:57:44 +01:00

21 lines
333 B
Diff

--- src/joe/b.c~ 2016-08-22 15:52:28.000000000 +0200
+++ src/joe/b.c 2016-12-26 18:17:44.449852459 +0100
@@ -5,6 +5,8 @@
*
* This file is part of JOE (Joe's Own Editor)
*/
+
+
#include "types.h"
#ifdef HAVE_PWD_H
@@ -19,7 +21,7 @@
#endif
#endif
-extern int errno;
+
#ifdef WITH_SELINUX
#include <selinux/selinux.h>