I have already searched, and applied what was said to fix this. but it did not work for me.
I am using windows xp and cygwin.
here are my errors :
$ make
make -s smaug
Compiling o/act_move.o....
In file included from act_move.c:21:
mud.h:2672: error: field `total_time' has incomplete type
mud.h:2673: error: field `min_time' has incomplete type
mud.h:2674: error: field `max_time' has incomplete type
make[1]: *** [o/act_move.o] Error 1
make: *** [all] Error 2
and here is the code it refers to :
struct timerset
{
int num_uses;
struct timeval total_time;
struct timeval min_time;
struct timeval max_time;
};
I am using windows xp and cygwin.
here are my errors :
$ make
make -s smaug
Compiling o/act_move.o....
In file included from act_move.c:21:
mud.h:2672: error: field `total_time' has incomplete type
mud.h:2673: error: field `min_time' has incomplete type
mud.h:2674: error: field `max_time' has incomplete type
make[1]: *** [o/act_move.o] Error 1
make: *** [all] Error 2
and here is the code it refers to :
struct timerset
{
int num_uses;
struct timeval total_time;
struct timeval min_time;
struct timeval max_time;
};