diff options
author | Simon Josefsson <simon@josefsson.org> | 2008-04-28 17:40:25 +0200 |
---|---|---|
committer | Simon Josefsson <simon@josefsson.org> | 2008-04-28 17:40:25 +0200 |
commit | 33d11481e0930865b73ae2cf69403fe95223bb9a (patch) | |
tree | 3387835e6a602fffc6aab6b3879a8dd856232f68 /lib/inet_pton.c | |
parent | c404b31376e0fc0373e063a95195d678f970212e (diff) | |
download | gnulib-33d11481e0930865b73ae2cf69403fe95223bb9a.tar.gz |
Move inet_ntop and inet_pton declarations to arpa/inet.h.
Diffstat (limited to 'lib/inet_pton.c')
-rw-r--r-- | lib/inet_pton.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/inet_pton.c b/lib/inet_pton.c index 6cbf8cb2bd..261caf197b 100644 --- a/lib/inet_pton.c +++ b/lib/inet_pton.c @@ -1,6 +1,6 @@ /* inet_pton.c -- convert IPv4 and IPv6 addresses from text to binary form - Copyright (C) 2006 Free Software Foundation, Inc. + Copyright (C) 2006, 2008 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 @@ -35,7 +35,7 @@ #include <config.h> /* Specification. */ -#include "inet_pton.h" +#include <arpa/inet.h> #include <ctype.h> #include <string.h> |