From ee5244137266e2945b596f63ce4f60cfef6cdaf3 Mon Sep 17 00:00:00 2001 From: dscho Date: Wed, 18 May 2005 08:12:28 +0000 Subject: hide strict ansi stuff if not explicitely turned on; actually use the socklen_t test from configure.ac --- test/copyrecttest.c | 2 ++ test/encodingstest.c | 2 ++ 2 files changed, 4 insertions(+) (limited to 'test') diff --git a/test/copyrecttest.c b/test/copyrecttest.c index 1986f72..5521595 100644 --- a/test/copyrecttest.c +++ b/test/copyrecttest.c @@ -1,4 +1,6 @@ +#ifdef __STRICT_ANSI__ #define _BSD_SOURCE +#endif #include #include diff --git a/test/encodingstest.c b/test/encodingstest.c index 5f84a5b..821b2ae 100644 --- a/test/encodingstest.c +++ b/test/encodingstest.c @@ -1,4 +1,6 @@ +#ifdef __STRICT_ANSI__ #define _BSD_SOURCE +#endif #include #include #include -- cgit v1.2.1