summaryrefslogtreecommitdiff
path: root/src/system.hh.in
diff options
context:
space:
mode:
authorCraig Earls <enderw88@gmail.com>2014-11-07 18:21:13 -0700
committerCraig Earls <enderw88@gmail.com>2014-11-07 18:21:13 -0700
commitaf15887ecb32cdacea8a0a487f8b94dd81f98383 (patch)
treecccfad949f3a2511bc0ef5071b818503290b9842 /src/system.hh.in
parent1bd67755fa3127d80b7534d15f1f9de1b477c19a (diff)
parent62e1354e0bb9bef2efaed14e3543199880026491 (diff)
downloadfork-ledger-af15887ecb32cdacea8a0a487f8b94dd81f98383.tar.gz
fork-ledger-af15887ecb32cdacea8a0a487f8b94dd81f98383.tar.bz2
fork-ledger-af15887ecb32cdacea8a0a487f8b94dd81f98383.zip
Merge branch 'master' of https://github.com/ledger/ledger
Diffstat (limited to 'src/system.hh.in')
-rw-r--r--src/system.hh.in5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/system.hh.in b/src/system.hh.in
index eaee14dc..67a218da 100644
--- a/src/system.hh.in
+++ b/src/system.hh.in
@@ -63,6 +63,7 @@
#define HAVE_REALPATH @HAVE_REALPATH@
#define HAVE_GETPWUID @HAVE_GETPWUID@
#define HAVE_GETPWNAM @HAVE_GETPWNAM@
+#define HAVE_IOCTL @HAVE_IOCTL@
#define HAVE_ISATTY @HAVE_ISATTY@
#define HAVE_UNIX_PIPES @HAVE_UNIX_PIPES@
@@ -151,6 +152,10 @@ typedef std::ostream::pos_type ostream_pos_type;
#include <pwd.h>
#endif
+#if HAVE_IOCTL
+#include <sys/ioctl.h>
+#endif
+
#if HAVE_UNIX_PIPES
#include <sys/types.h>
#include <sys/wait.h>