summaryrefslogtreecommitdiff
path: root/gdb/configure.ac
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/configure.ac')
-rw-r--r--gdb/configure.ac4
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/configure.ac b/gdb/configure.ac
index 02611b2d413..0032d41e9c7 100644
--- a/gdb/configure.ac
+++ b/gdb/configure.ac
@@ -432,6 +432,10 @@ AC_CHECK_MEMBERS([struct stat.st_blksize])
# ------------------ #
AC_TYPE_SIGNAL
+AC_CHECK_TYPES(socklen_t, [], [],
+[#include <sys/types.h>
+#include <sys/socket.h>
+])
# ------------------------------------- #
# Checks for compiler characteristics. #