projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Make it possible to compile strerror.c separately, unconditionally.
[gnulib.git]
/
lib
/
inet_ntop.h
diff --git
a/lib/inet_ntop.h
b/lib/inet_ntop.h
index
83f5edf
..
bd1e085
100644
(file)
--- a/
lib/inet_ntop.h
+++ b/
lib/inet_ntop.h
@@
-1,5
+1,5
@@
/* Convert internet address from internal to printable, presentable format.
/* 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
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,12
+16,9
@@
Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */
#include <sys/types.h>
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
-#ifdef HAVE_ARPA_INET_H
-# include <arpa/inet.h>
-#endif
+#include <sys/socket.h>
+#include <netinet/in.h>
+#include <arpa/inet.h>
/* Converts an internet address from internal format to a printable,
presentable format.
/* Converts an internet address from internal format to a printable,
presentable format.