mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
::readlink() needs unistd.h
this is included in some gcc headers, but not in c++11 mode, that is the reason why we did not get a compile error so far.
This commit is contained in:
parent
7796ad3a36
commit
158b9a0e55
@ -46,6 +46,9 @@
|
||||
#ifdef HAVE_MAGIC_H
|
||||
#include <magic.h>
|
||||
#endif
|
||||
#ifdef HAVE_UNISTD_H
|
||||
#include <unistd.h>
|
||||
#endif
|
||||
|
||||
#include <cerrno>
|
||||
#include <cstdlib>
|
||||
|
Loading…
Reference in New Issue
Block a user