stty.c & TIME_WITH_SYS_TIME

Ilmar S. Habibulin ilmar at ints.ru
Tue Jun 13 06:00:59 UTC 2000


On Tue, 13 Jun 2000, John Birch wrote:

> On Mon, 12 Jun 2000, you wrote:
> > Where should this TIME_WITH_SYS_TIME be descriped? I had to insert it in
> > config.h manually. I'm trying to compile -current kdevelop, last cvsuped
> > 3-4 days ago.
> 
> Not sure it needs to be there. I think it's a cut'n'paste error.
Error messages and code follows.

> What error message are you getting if it's not there?

In file included from stty.cpp:41:
/usr/include/sys/resource.h:61: field `ru_utime' has incomplete type
/usr/include/sys/resource.h:62: field `ru_stime' has incomplete type
gmake: *** [stty.o] Error 1

--- stty.cpp ---
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif

#include <stdlib.h>
#include <stdio.h>

#include <sys/types.h>
#include <sys/ioctl.h>
#ifdef TIME_WITH_SYS_TIME <------ Then what doest this do here?
  #include <sys/time.h>
#endif
#include <sys/resource.h>
#ifdef HAVE_SYS_STROPTS_H
--- stty.cpp ---





More information about the KDevelop mailing list