diff options
author | Pierre Ossman <ossman@cendio.se> | 2021-12-30 10:20:13 +0100 |
---|---|---|
committer | Pierre Ossman <ossman@cendio.se> | 2021-12-30 10:23:49 +0100 |
commit | b6d6db9b7c49898a663e9a9bc309ba10275a65f4 (patch) | |
tree | 3a0dabeb9246269e4d87e0daa47e6729d6b5fc81 /tests/unit/pixelformat.cxx | |
parent | 425d8302b44137234e83d62edb70754d114b5cba (diff) | |
download | tigervnc-b6d6db9b7c49898a663e9a9bc309ba10275a65f4.tar.gz tigervnc-b6d6db9b7c49898a663e9a9bc309ba10275a65f4.zip |
Be consistent in including config.h
The generally recommended way is to include it from source files, not
headers. We had a mix of both. Let's try to be consistent and follow the
recommended way.
Diffstat (limited to 'tests/unit/pixelformat.cxx')
-rw-r--r-- | tests/unit/pixelformat.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/unit/pixelformat.cxx b/tests/unit/pixelformat.cxx index 2e0c0bbb..6ab736b8 100644 --- a/tests/unit/pixelformat.cxx +++ b/tests/unit/pixelformat.cxx @@ -16,6 +16,10 @@ * USA. */ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + #include <stdio.h> #include <rfb/PixelFormat.h> |