fix-includes.patch 528 B

12345678910111213141516171819202122232425
  1. --- minicom-2.6.2.orig/src/dial.c
  2. +++ minicom-2.6.2/src/dial.c
  3. @@ -39,11 +39,9 @@
  4. #include "intl.h"
  5. #ifdef VC_MUSIC
  6. -# if defined(__GLIBC__)
  7. # include <sys/ioctl.h>
  8. # include <sys/kd.h>
  9. # include <sys/time.h>
  10. -# endif
  11. #endif
  12. enum { CURRENT_VERSION = 6 };
  13. --- minicom-2.6.2.orig/src/getsdir.h
  14. +++ minicom-2.6.2/src/getsdir.h
  15. @@ -22,6 +22,7 @@
  16. * and licensing conditions. See the source, Luke.
  17. */
  18. +#include <sys/param.h>
  19. #include <dirent.h>
  20. typedef struct dirEntry { /* structure of data item */