summaryrefslogtreecommitdiffstats
path: root/libidu/idfile.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/idfile.c
parent4e7272bae5a7cf56a60e234dc34de837db788209 (diff)
downloadidutils-949d0ef45928323ed3e752f782b56de150f400e4.tar.gz
idutils-949d0ef45928323ed3e752f782b56de150f400e4.tar.bz2
idutils-949d0ef45928323ed3e752f782b56de150f400e4.zip
Declare strsep if necessary.
Diffstat (limited to 'libidu/idfile.c')
-rw-r--r--libidu/idfile.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/libidu/idfile.c b/libidu/idfile.c
index 1b46ab7..cabc18d 100644
--- a/libidu/idfile.c
+++ b/libidu/idfile.c
@@ -1,5 +1,5 @@
/* idfile.c -- read & write mkid database file header
- 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
@@ -28,6 +28,13 @@
#include "idfile.h"
#include "error.h"
+#ifndef HAVE_DECL_STRSEP
+"this configure-time declaration test was not run"
+#endif
+#if !HAVE_DECL_STRSEP
+char *strsep ();
+#endif
+
int io_size __P((FILE *, void *, unsigned int size, int));