summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcus Brinkmann <mb@g10code.com>2006-10-12 21:22:35 +0000
committerMarcus Brinkmann <mb@g10code.com>2006-10-12 21:22:35 +0000
commit488b253f39b008230989660639304f66f1015626 (patch)
tree93f59dba16dd1c98d6dc55f47524b20743c4fda8
parentf1f7b30a1265b84fb25015937f28ae5a5e8768e2 (diff)
downloadlibgcrypt-488b253f39b008230989660639304f66f1015626.tar.gz
Fix small typos that I should have fixed before committing the last
change.
-rw-r--r--configure.ac2
-rw-r--r--src/gcrypt.h.in4
2 files changed, 3 insertions, 3 deletions
diff --git a/configure.ac b/configure.ac
index 7c2d2bfd..1a0810b1 100644
--- a/configure.ac
+++ b/configure.ac
@@ -522,7 +522,7 @@ GNUPG_CHECK_TYPEDEF(u32, HAVE_U32_TYPEDEF)
gl_TYPE_SOCKLEN_T
if test ".$gl_cv_socklen_t_equiv" = "."; then
- FALLBACK_SOCKLEN_T="typedef socklen_t gcry_socklen_t; */"
+ FALLBACK_SOCKLEN_T="typedef socklen_t gcry_socklen_t;"
else
FALLBACK_SOCKLEN_T="typedef ${gl_cv_socklen_t_equiv} gcry_socklen_t;"
fi
diff --git a/src/gcrypt.h.in b/src/gcrypt.h.in
index 15d6ed80..cfcf3299 100644
--- a/src/gcrypt.h.in
+++ b/src/gcrypt.h.in
@@ -29,8 +29,6 @@
#include <sys/types.h>
-@FALLBACK_SOCKLEN_T@
-
#if defined _WIN32 || defined __WIN32__
# include <winsock2.h>
# include <ws2tcpip.h>
@@ -38,6 +36,8 @@
# include <sys/socket.h>
#endif /*!_WIN32*/
+@FALLBACK_SOCKLEN_T@
+
#include <sys/time.h>
/* This is required for error code compatibility. */