[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
inet_ntop module proposed patch
From: |
Bruno Haible |
Subject: |
inet_ntop module proposed patch |
Date: |
Thu, 29 Jun 2006 14:36:07 +0200 |
User-agent: |
KMail/1.9.1 |
Hi Yoann and Simon,
I propose to use #if HAVE_... instead of #ifdef HAVE_..., as customary in
gnulib (with the exception of HAVE_CONFIG_H).
diff -r -c3 --exclude=CVS gnulib-20060614-modified/lib/inet_ntop.h
gnulib-20060628-modified/lib/inet_ntop.h
*** gnulib-20060614-modified/lib/inet_ntop.h 2006-01-23 15:52:00.000000000
+0100
--- gnulib-20060628-modified/lib/inet_ntop.h 2006-06-29 00:15:15.000000000
+0200
***************
*** 17,23 ****
#include <sys/types.h>
#include <sys/socket.h>
! #ifdef HAVE_ARPA_INET_H
# include <arpa/inet.h>
#endif
--- 17,23 ----
#include <sys/types.h>
#include <sys/socket.h>
! #if HAVE_ARPA_INET_H
# include <arpa/inet.h>
#endif
- inet_ntop module proposed patch,
Bruno Haible <=