summaryrefslogtreecommitdiff
path: root/user/minicom/fix-includes.patch
diff options
context:
space:
mode:
authorDan Theisen <djt@hxx.in>2018-09-28 00:03:19 -0700
committerDan Theisen <djt@hxx.in>2018-09-28 00:03:19 -0700
commit62d4cca68a554565947558a3ce2327e83af98cac (patch)
tree74e558beecb2cb127a1823e3ca860909fa057a5d /user/minicom/fix-includes.patch
parent33b7c264cc2f69e3e19f32ceb4094e4e266a8c66 (diff)
downloadpackages-62d4cca68a554565947558a3ce2327e83af98cac.tar.gz
packages-62d4cca68a554565947558a3ce2327e83af98cac.tar.bz2
packages-62d4cca68a554565947558a3ce2327e83af98cac.tar.xz
packages-62d4cca68a554565947558a3ce2327e83af98cac.zip
user/minicom: new package
Diffstat (limited to 'user/minicom/fix-includes.patch')
-rw-r--r--user/minicom/fix-includes.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/user/minicom/fix-includes.patch b/user/minicom/fix-includes.patch
new file mode 100644
index 000000000..19a18dcdb
--- /dev/null
+++ b/user/minicom/fix-includes.patch
@@ -0,0 +1,24 @@
+--- minicom-2.6.2.orig/src/dial.c
++++ minicom-2.6.2/src/dial.c
+@@ -39,11 +39,9 @@
+ #include "intl.h"
+
+ #ifdef VC_MUSIC
+-# if defined(__GLIBC__)
+ # include <sys/ioctl.h>
+ # include <sys/kd.h>
+ # include <sys/time.h>
+-# endif
+ #endif
+
+ enum { CURRENT_VERSION = 6 };
+--- minicom-2.6.2.orig/src/getsdir.h
++++ minicom-2.6.2/src/getsdir.h
+@@ -22,6 +22,7 @@
+ * and licensing conditions. See the source, Luke.
+ */
+
++#include <sys/param.h>
+ #include <dirent.h>
+
+ typedef struct dirEntry { /* structure of data item */