diff options
author | Timo Teräs <timo.teras@iki.fi> | 2013-12-17 06:28:25 +0000 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2013-12-17 06:28:25 +0000 |
commit | 5b7e2c737d6fd22c20ddc0735494aabf2aefd3fa (patch) | |
tree | 720e2245ffa205d9bb0e05f8173dff9b65f1b335 /main/minicom/fix-includes.patch | |
parent | 8b7a45a3ab6f5cdba827890764b306c80d2c9c82 (diff) | |
download | aports-5b7e2c737d6fd22c20ddc0735494aabf2aefd3fa.tar.bz2 aports-5b7e2c737d6fd22c20ddc0735494aabf2aefd3fa.tar.xz |
main/minicom: fix musl build
Diffstat (limited to 'main/minicom/fix-includes.patch')
-rw-r--r-- | main/minicom/fix-includes.patch | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/main/minicom/fix-includes.patch b/main/minicom/fix-includes.patch new file mode 100644 index 0000000000..19a18dcdb8 --- /dev/null +++ b/main/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 */ |