diff options
| author | Slávek Banko <slavek.banko@axis.cz> | 2018-09-30 14:48:39 +0200 |
|---|---|---|
| committer | Slávek Banko <slavek.banko@axis.cz> | 2018-09-30 14:48:39 +0200 |
| commit | 2ea1d5f3a50512d0df72927321f01d14ce887fe7 (patch) | |
| tree | a74189b1d10637a199be2e8f7b664d6ab9b43d88 | |
| parent | be12e63978fe9e6a92a91fe50a02c05ab9dace6e (diff) | |
| download | kplayer-2ea1d5f3a50512d0df72927321f01d14ce887fe7.tar.gz kplayer-2ea1d5f3a50512d0df72927321f01d14ce887fe7.zip | |
Add sys/sysmacros.h include
This resolves FTBFS with glibc 2.28
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
| -rw-r--r-- | configure.in.in | 1 | ||||
| -rw-r--r-- | kplayer/kplayernode.cpp | 5 |
2 files changed, 6 insertions, 0 deletions
diff --git a/configure.in.in b/configure.in.in index 0354054..1a71258 100644 --- a/configure.in.in +++ b/configure.in.in @@ -6,3 +6,4 @@ AC_CHECK_KDEMAXPATHLEN AC_CHECK_FUNCS(mkfifo) AC_CHECK_HEADERS(sys/soundcard.h machine/soundcard.h soundcard.h) +AC_CHECK_HEADERS(sys/sysmacros.h) diff --git a/kplayer/kplayernode.cpp b/kplayer/kplayernode.cpp index 311c989..a281516 100644 --- a/kplayer/kplayernode.cpp +++ b/kplayer/kplayernode.cpp @@ -13,6 +13,11 @@ * (at your option) any later version. * ***************************************************************************/ +#ifdef HAVE_SYS_SYSMACROS_H +#include <sys/sysmacros.h> +#endif +#include <sys/types.h> + #include <klargefile.h> #include <tdelocale.h> #include <kmdcodec.h> |
