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/slave/kprop_sock.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/slave/kprop_sock.c')
-rw-r--r-- | src/slave/kprop_sock.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/slave/kprop_sock.c b/src/slave/kprop_sock.c index a439b37..1591a8b 100644 --- a/src/slave/kprop_sock.c +++ b/src/slave/kprop_sock.c @@ -26,13 +26,12 @@ /* sockaddr2krbaddr() utility function used by kprop and kpropd */ -#include <stdlib.h> -#include <sys/types.h> -#include <sys/socket.h> - #include "k5-int.h" #include "kprop.h" +#include <sys/types.h> +#include <sys/socket.h> + /* * Convert an IPv4 or IPv6 socket address to a newly allocated krb5_address. * There is similar code elsewhere in the tree, so this should possibly become |