dirname prototype from libgen.h if available
This commit is contained in:
parent
140b5d5e28
commit
ca4c80433f
|
|
@ -15,7 +15,7 @@ $Id$
|
|||
* the listing routines.
|
||||
*/
|
||||
|
||||
#ifndef _MSC_VER
|
||||
#ifdef HAVE_LIBGEN_H /* dirname() */
|
||||
#include <libgen.h>
|
||||
#endif
|
||||
#include "ngspice.h"
|
||||
|
|
|
|||
|
|
@ -30,7 +30,7 @@ Author: 1985 Wayne A. Christopher
|
|||
* Fixed crash where a NULL pointer gets freed in inp_readall()
|
||||
*/
|
||||
|
||||
#ifndef _MSC_VER
|
||||
#ifdef HAVE_LIBGEN_H /* dirname() */
|
||||
#include <libgen.h>
|
||||
#endif
|
||||
#include <config.h>
|
||||
|
|
|
|||
Loading…
Reference in New Issue