summaryrefslogtreecommitdiffstats
path: root/main/minicom/fix-includes.patch
blob: 19a18dcdb8917f5dda8883ff3dd4f319693ff7b7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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 */