diff options
author | Greg Hudson <ghudson@mit.edu> | 2014-07-05 11:50:58 -0400 |
---|---|---|
committer | Greg Hudson <ghudson@mit.edu> | 2014-07-08 19:19:24 -0400 |
commit | 02a1123cf44381690c28f18ab2c4ba8036200539 (patch) | |
tree | 821ad7e29d2f90227b6f12dc63aaae948baa2447 /src/util/support/errors.c | |
parent | 6a8da91b691b8f51ac62d8142cd2fa32a69f3d15 (diff) | |
download | krb5-02a1123cf44381690c28f18ab2c4ba8036200539.tar.gz krb5-02a1123cf44381690c28f18ab2c4ba8036200539.tar.xz krb5-02a1123cf44381690c28f18ab2c4ba8036200539.zip |
Include autoconf.h before system headers
Include autoconf.h (either directly or via proxy) before system
headers, so that feature test macros defined there can affect the
system namespace. Where include order was changed, eliminate some
redundant or unnecessary includes.
ticket: 7961
Diffstat (limited to 'src/util/support/errors.c')
-rw-r--r-- | src/util/support/errors.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/util/support/errors.c b/src/util/support/errors.c index 4b1cfa062..6c4d8bdbe 100644 --- a/src/util/support/errors.c +++ b/src/util/support/errors.c @@ -4,14 +4,9 @@ * needs to be generated with error tables, after util/et, which builds after * this directory. */ -#include <stdarg.h> -#include <string.h> -#include <stdlib.h> -#include <stdio.h> +#include "k5-platform.h" #include "k5-err.h" - #include "k5-thread.h" -#include "k5-platform.h" #include "supp-int.h" /* |