vfs/tar/tar.c: add makedev() declaration
commitbc8eb09256b1c294ce3bfeb473e7d7b57b7b6073
authorSergei Trofimovich <siarheit@google.com>
Sun, 22 Jan 2017 17:05:39 +0000 (22 17:05 +0000)
committerSergei Trofimovich <siarheit@google.com>
Sun, 22 Jan 2017 17:05:39 +0000 (22 17:05 +0000)
tree88eba4384575971c62594cc2914a942295e83a2a
parent9845fa6ce542c5c45ab9a86140052dd3ded03655
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>
src/vfs/tar/tar.c