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/tests/threads/profread.c | |
parent | 6a8da91b691b8f51ac62d8142cd2fa32a69f3d15 (diff) | |
download | krb5-02a1123cf44381690c28f18ab2c4ba8036200539.zip krb5-02a1123cf44381690c28f18ab2c4ba8036200539.tar.gz krb5-02a1123cf44381690c28f18ab2c4ba8036200539.tar.bz2 |
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/tests/threads/profread.c')
-rw-r--r-- | src/tests/threads/profread.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/src/tests/threads/profread.c b/src/tests/threads/profread.c index 3909f23..be28ba4 100644 --- a/src/tests/threads/profread.c +++ b/src/tests/threads/profread.c @@ -29,17 +29,11 @@ * initially contributed by Ken Raeburn */ -#include <stdio.h> -#include <string.h> -#include <stdlib.h> -#include <limits.h> -#include <assert.h> +#include "k5-platform.h" #include <unistd.h> #include <pthread.h> #include <krb5.h> #include <profile.h> -/* for SIZE_MAX: */ -#include "k5-platform.h" #include <sys/time.h> #include <sys/resource.h> |