diff options
author | Gokturk Yuksek <gokturk@gentoo.org> | 2018-04-04 16:37:33 -0400 |
---|---|---|
committer | Mounir IDRASSI <mounir.idrassi@idrix.fr> | 2018-04-04 22:37:33 +0200 |
commit | 80fed6f7f70f27596b8d0568ae0de06087dc8b73 (patch) | |
tree | 3ea40b4fdc70d6ce88905dc1886d57611c51f932 /src/ExpandVolume/DlgExpandVolume.cpp | |
parent | 1d4a02b6724f3df6fde80f29d2e551d7126652de (diff) | |
download | VeraCrypt-80fed6f7f70f27596b8d0568ae0de06087dc8b73.tar.gz VeraCrypt-80fed6f7f70f27596b8d0568ae0de06087dc8b73.zip |
Platform/Unix: include <sys/sysmacros.h> for major/minor macros (#303)
Starting with glibc 2.26, macros "major" and "minor" are only
available from <sys/sysmacros.h> [0]. The build fails with the
following without including this header:
Unix/FilesystemPath.cpp:84:49: error: ‘major’ was not declared in this scope
Unix/FilesystemPath.cpp:84:113: error: ‘minor’ was not declared in this scope
[0] https://sourceware.org/ml/libc-alpha/2017-02/msg00079.html
Diffstat (limited to 'src/ExpandVolume/DlgExpandVolume.cpp')
0 files changed, 0 insertions, 0 deletions