summaryrefslogtreecommitdiff
path: root/lib/inet_ntop.c
diff options
context:
space:
mode:
authorSimon Josefsson <simon@josefsson.org>2008-04-28 17:40:25 +0200
committerSimon Josefsson <simon@josefsson.org>2008-04-28 17:40:25 +0200
commit33d11481e0930865b73ae2cf69403fe95223bb9a (patch)
tree3387835e6a602fffc6aab6b3879a8dd856232f68 /lib/inet_ntop.c
parentc404b31376e0fc0373e063a95195d678f970212e (diff)
downloadgnulib-33d11481e0930865b73ae2cf69403fe95223bb9a.tar.gz
Move inet_ntop and inet_pton declarations to arpa/inet.h.
Diffstat (limited to 'lib/inet_ntop.c')
-rw-r--r--lib/inet_ntop.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/inet_ntop.c b/lib/inet_ntop.c
index 537b59fa5c..16eb109210 100644
--- a/lib/inet_ntop.c
+++ b/lib/inet_ntop.c
@@ -1,6 +1,6 @@
/* inet_ntop.c -- convert IPv4 and IPv6 addresses from binary to text form
- Copyright (C) 2005, 2006 Free Software Foundation, Inc.
+ Copyright (C) 2005, 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
@@ -36,7 +36,7 @@
#include <config.h>
/* Specification. */
-#include "inet_ntop.h"
+#include <arpa/inet.h>
#include <stdio.h>
#include <string.h>