summaryrefslogtreecommitdiff
path: root/lib/tsearch.c
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2007-03-25 02:45:24 +0000
committerBruno Haible <bruno@clisp.org>2007-03-25 02:45:24 +0000
commitf6cc762af9137f7dc92b9ad5ef97c8a05f7e129b (patch)
tree7b93c905ad72716f7b825800ca9eff1fbe87e8e1 /lib/tsearch.c
parentcdaeb6bb213d6042df46e0b3584718ede9f18511 (diff)
downloadgnulib-f6cc762af9137f7dc92b9ad5ef97c8a05f7e129b.tar.gz
New module 'search'.
Diffstat (limited to 'lib/tsearch.c')
-rw-r--r--lib/tsearch.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/lib/tsearch.c b/lib/tsearch.c
index 6a9d2e06ac..cc63a11e72 100644
--- a/lib/tsearch.c
+++ b/lib/tsearch.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1995, 1996, 1997, 2000, 2006 Free Software Foundation, Inc.
+/* Copyright (C) 1995-1997, 2000, 2006-2007 Free Software Foundation, Inc.
Contributed by Bernd Schmidt <crux@Pool.Informatik.RWTH-Aachen.DE>, 1997.
NOTE: The canonical source of this file is maintained with the GNU C
@@ -88,7 +88,11 @@
#include <config.h>
/* Specification. */
-#include "tsearch.h"
+#ifdef IN_LIBINTL
+# include "tsearch.h"
+#else
+# include <search.h>
+#endif
#include <stdlib.h>