Mercurial > octave
diff kpathsea/db.c @ 4291:0a87097e74ca
[project @ 2003-01-05 06:35:08 by jwe]
author | jwe |
---|---|
date | Sun, 05 Jan 2003 06:35:08 +0000 |
parents | 1f0b06020e36 |
children |
line wrap: on
line diff
--- a/kpathsea/db.c Sun Jan 05 06:30:44 2003 +0000 +++ b/kpathsea/db.c Sun Jan 05 06:35:08 2003 +0000 @@ -16,6 +16,13 @@ License along with this library; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +/* This gives us a better chance of finding a prototype for basename + on some systems. */ + +#if ! defined (_GNU_SOURCE) +#define _GNU_SOURCE +#endif + #include <kpathsea/config.h> #include <kpathsea/absolute.h> #include <kpathsea/c-fopen.h>