diff options
author | David Adam <zanchey@ucc.gu.uwa.edu.au> | 2016-05-18 22:30:21 +0000 |
---|---|---|
committer | David Adam <zanchey@ucc.gu.uwa.edu.au> | 2016-05-18 22:30:21 +0000 |
commit | 9225b16d1285e620c7c13e3416bdd4099f8ff4b7 (patch) | |
tree | a39612633828387e1c69c134a194c6d1b7a382ab /src/util.cpp | |
parent | 00e32a0909e5d0d303936eec8cb697cb67069861 (diff) |
add (or restore) config.h to all files
The autoconf-generated config.h contains a number of directives which
may alter the behaviour of system headers on certain platforms. Always
include it in every C++ file as the first include.
Closes #2993.
Diffstat (limited to 'src/util.cpp')
-rw-r--r-- | src/util.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/util.cpp b/src/util.cpp index 80c9771a..bf44feab 100644 --- a/src/util.cpp +++ b/src/util.cpp @@ -1,6 +1,8 @@ // Generic utilities library. // // Contains data structures such as automatically growing array lists, priority queues, etc. +#include "config.h" // IWYU pragma: keep + #include <errno.h> #include <stdlib.h> #include <sys/time.h> |