bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

inet_ntop fix


From: Simon Josefsson
Subject: inet_ntop fix
Date: Fri, 20 Jan 2006 12:25:54 +0100
User-agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux)

Hi Yoann! Is it ok to include this? I wasn't able to build the inet_ntop module under mingw32 without it. 2006-01-20 Simon Josefsson <address@hidden> * inet_ntop.h: Unconditionally include sys/socket.h. 2006-01-20 Simon Josefsson <address@hidden>

        * modules/inet_ntop (Depends-on): Depend on sys_socket.

Index: lib/inet_ntop.h
===================================================================
RCS file: /sources/gnulib/gnulib/lib/inet_ntop.h,v
retrieving revision 1.5
diff -u -p -r1.5 inet_ntop.h
--- lib/inet_ntop.h     9 Nov 2005 00:58:57 -0000       1.5
+++ lib/inet_ntop.h     20 Jan 2006 11:26:14 -0000
@@ -1,5 +1,5 @@
/* Convert internet address from internal to printable, presentable format.
-   Copyright (C) 2005 Free Software Foundation, Inc.
+   Copyright (C) 2005, 2006 Free Software Foundation, Inc.

   This program is free software; you can redistribute it and/or modify
   it under the terms of the GNU General Public License as published by
@@ -16,9 +16,7 @@
   Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.  */

#include <sys/types.h>
-#ifdef HAVE_SYS_SOCKET_H
-# include <sys/socket.h>
-#endif
+#include <sys/socket.h>
#ifdef HAVE_ARPA_INET_H
# include <arpa/inet.h>
#endif
Index: modules/inet_ntop
===================================================================
RCS file: /sources/gnulib/gnulib/modules/inet_ntop,v
retrieving revision 1.3
diff -u -p -r1.3 inet_ntop
--- modules/inet_ntop   9 Jan 2006 14:22:01 -0000       1.3
+++ modules/inet_ntop   20 Jan 2006 11:26:14 -0000
@@ -10,6 +10,7 @@ m4/sockpfaf.m4
Depends-on:
restrict
socklen
+sys_socket

configure.ac:
gl_INET_NTOP




reply via email to

[Prev in Thread] Current Thread [Next in Thread]