summaryrefslogtreecommitdiffstats
path: root/libidu/scanners.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2000-06-06 16:41:39 +0000
committerJim Meyering <jim@meyering.net>2000-06-06 16:41:39 +0000
commit949d0ef45928323ed3e752f782b56de150f400e4 (patch)
tree4b4cb427d78bdbf6f7ec817c8ff5ae9123ad6db4 /libidu/scanners.c
parent4e7272bae5a7cf56a60e234dc34de837db788209 (diff)
downloadidutils-949d0ef45928323ed3e752f782b56de150f400e4.tar.gz
idutils-949d0ef45928323ed3e752f782b56de150f400e4.tar.bz2
idutils-949d0ef45928323ed3e752f782b56de150f400e4.zip
Declare strsep if necessary.
Diffstat (limited to 'libidu/scanners.c')
-rw-r--r--libidu/scanners.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/libidu/scanners.c b/libidu/scanners.c
index 261837a..9c4331a 100644
--- a/libidu/scanners.c
+++ b/libidu/scanners.c
@@ -1,5 +1,5 @@
/* scanners.c -- file & directory name manipulations
- Copyright (C) 1986, 1995, 1996, 1999 Free Software Foundation, Inc.
+ Copyright (C) 1986, 1995, 1996, 1999, 2000 Free Software Foundation, Inc.
Written by Greg McGary <gkm@gnu.ai.mit.edu>
This program is free software; you can redistribute it and/or modify
@@ -34,6 +34,13 @@
#include "scanners.h"
#include "tokflags.h"
+#ifndef HAVE_DECL_STRSEP
+"this configure-time declaration test was not run"
+#endif
+#if !HAVE_DECL_STRSEP
+char *strsep ();
+#endif
+
#define DEBUG(args) /* printf args */
struct obstack lang_args_obstack;