diff options
Diffstat (limited to 'gdb/gdbserver/configure.ac')
-rw-r--r-- | gdb/gdbserver/configure.ac | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gdb/gdbserver/configure.ac b/gdb/gdbserver/configure.ac index 0eaea38..eda8882 100644 --- a/gdb/gdbserver/configure.ac +++ b/gdb/gdbserver/configure.ac @@ -40,10 +40,10 @@ AC_CHECK_HEADERS(sgtty.h termio.h termios.h sys/reg.h string.h dnl BFD_NEED_DECLARATION(strerror) -AC_CHECK_TYPE(socklen_t, - [AC_DEFINE(HAVE_SOCKLEN_T, 1, [Define if you have socklen_t.])], - [], [#include <sys/socket.h>]) - +AC_CHECK_TYPES(socklen_t, [], [], +[#include <sys/types.h> +#include <sys/socket.h> +]) . ${srcdir}/configure.srv if test "${srv_linux_usrregs}" = "yes"; then |