diff options
author | Andy Wingo <wingo@pobox.com> | 2013-03-09 22:38:21 +0100 |
---|---|---|
committer | Andy Wingo <wingo@pobox.com> | 2013-03-09 22:38:21 +0100 |
commit | b0dbbacbe40fc8aa0b057101f84aed96ac4bea07 (patch) | |
tree | a683ff1313a622ed18303a093813ebc8a5224bc8 /libguile/socket.c | |
parent | ce09e6bd0f2903566c14b4edf2659c19f2eb95b1 (diff) |
mingw include order for socket.c
* libguile/socket.c: Reorder includes to fix include order on mingw.
Diffstat (limited to 'libguile/socket.c')
-rw-r--r-- | libguile/socket.c | 36 |
1 files changed, 19 insertions, 17 deletions
diff --git a/libguile/socket.c b/libguile/socket.c index ecb6754ae..bed069b83 100644 --- a/libguile/socket.c +++ b/libguile/socket.c @@ -25,25 +25,8 @@ #endif #include <errno.h> -#include <gmp.h> #include <verify.h> -#include "libguile/_scm.h" -#include "libguile/arrays.h" -#include "libguile/feature.h" -#include "libguile/fports.h" -#include "libguile/strings.h" -#include "libguile/vectors.h" -#include "libguile/dynwind.h" -#include "libguile/srfi-13.h" - -#include "libguile/validate.h" -#include "libguile/socket.h" - -#if SCM_ENABLE_DEPRECATED == 1 -# include "libguile/deprecation.h" -#endif - #ifdef HAVE_STDINT_H #include <stdint.h> #endif @@ -62,6 +45,25 @@ #include <netdb.h> #include <arpa/inet.h> +#include <gmp.h> + +#include "libguile/_scm.h" +#include "libguile/arrays.h" +#include "libguile/feature.h" +#include "libguile/fports.h" +#include "libguile/strings.h" +#include "libguile/vectors.h" +#include "libguile/dynwind.h" +#include "libguile/srfi-13.h" + +#include "libguile/validate.h" +#include "libguile/socket.h" + +#if SCM_ENABLE_DEPRECATED == 1 +# include "libguile/deprecation.h" +#endif + + #if defined (HAVE_UNIX_DOMAIN_SOCKETS) && !defined (SUN_LEN) #define SUN_LEN(ptr) ((size_t) (((struct sockaddr_un *) 0)->sun_path) \ |