Browse Source

dirname prototype from libgen.h if available

pre-master-46
dwarning 19 years ago
parent
commit
ca4c80433f
  1. 2
      src/frontend/inp.c
  2. 2
      src/frontend/inpcom.c

2
src/frontend/inp.c

@ -15,7 +15,7 @@ $Id$
* the listing routines.
*/
#ifndef _MSC_VER
#ifdef HAVE_LIBGEN_H /* dirname() */
#include <libgen.h>
#endif
#include "ngspice.h"

2
src/frontend/inpcom.c

@ -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…
Cancel
Save