diff options
author | Benda Xu <heroxbd@gentoo.org> | 2015-11-11 13:37:41 -0600 |
---|---|---|
committer | William Hubbs <w.d.hubbs@gmail.com> | 2015-11-11 13:37:41 -0600 |
commit | 085d77f17e3bedd23ffa96fe7e4eb8515ae8bfc6 (patch) | |
tree | 925aa6b93ce22bd614e74659e1211aaae1ca6850 /src/rc/rc-logger.c | |
parent | c831f1f994e187afd8edfff15e4063b99440bbcb (diff) |
Standardize macro tests for gnu hurd
This also fixes breakage of GNU/hurd builds introduced by commit 3f82edbeb92.
Diffstat (limited to 'src/rc/rc-logger.c')
-rw-r--r-- | src/rc/rc-logger.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/rc/rc-logger.c b/src/rc/rc-logger.c index e72f1818..894912fd 100644 --- a/src/rc/rc-logger.c +++ b/src/rc/rc-logger.c @@ -44,7 +44,8 @@ #include <time.h> #include <unistd.h> -#if defined(__linux__) || (defined(__FreeBSD_kernel__) && defined(__GLIBC__)) +#if defined(__linux__) || (defined(__FreeBSD_kernel__) && defined(__GLIBC__)) \ + || defined(__GNU__) # include <pty.h> #elif defined(__NetBSD__) || defined(__OpenBSD__) # include <util.h> |