diff --git a/src/include/ngspice/dvec.h b/src/include/ngspice/dvec.h index 7c040c7f4..e24aa066f 100644 --- a/src/include/ngspice/dvec.h +++ b/src/include/ngspice/dvec.h @@ -3,6 +3,7 @@ #include "ngspice/complex.h" #include "ngspice/grid.h" +#include "ngspice/sim.h" /* Dvec flags. */ @@ -36,7 +37,7 @@ typedef enum { struct dvec { char *v_name; /* Same as so_vname. */ - int v_type; /* Same as so_vtype. */ + enum simulation_types v_type; /* Same as so_vtype. */ short v_flags; /* Flags (a combination of VF_*). */ double *v_realdata; /* Real data. */ ngcomplex_t *v_compdata; /* Complex data. */