mirror of
https://github.com/MidnightCommander/mc
synced 2025-03-03 06:31:28 +03:00
vfs/tar/tar.c: add makedev() declaration
Noticed as a build failure on gentoo/glibc-2.24 as: CCLD mc ./.libs/libinternal.a(tar.o): In function `tar_fill_stat': /home/slyfox/dev/git/mc/src/vfs/tar/tar.c:428: undefined reference to `makedev' collect2: error: ld returned 1 exit status The change uses "lib/unixcompat.h" to pull 'makedev()' declaration from proper header. Signed-off-by: Sergei Trofimovich <siarheit@google.com>
This commit is contained in:
parent
9845fa6ce5
commit
bc8eb09256
@ -47,6 +47,7 @@
|
||||
|
||||
#include "lib/global.h"
|
||||
#include "lib/util.h"
|
||||
#include "lib/unixcompat.h" /* makedev() */
|
||||
#include "lib/widget.h" /* message() */
|
||||
|
||||
#include "lib/vfs/vfs.h"
|
||||
|
Loading…
x
Reference in New Issue
Block a user