On Thu, 31 Aug 2000 15:36:59 +1100, Bruce Evans wrote:

> Programs like fstat and lsof probably have a legitimate need for some
> things in <sys/conf.h>.  This is a bug in <sys/conf.h>.

For now, a harmless work-around for most of these applications seems to
be to include <sys/time.h>.  The odds of namespace collisions are slim.

For the particular case that raised this issue, namely xosview, a patch
is supplied for the port maintainer, for addition to the port's
./patches/ directory.


--- bsd/swapinternal.cc.orig    Wed Aug 30 19:12:38 2000
+++ bsd/swapinternal.cc Wed Aug 30 19:12:53 2000
@@ -64,6 +64,7 @@
 //                    code has been removed.  BCG  FIXME SOMEDAY
 #include <sys/param.h>         /*  For things in sys/conf.h.  */
+#include <sys/time.h>
 #include <sys/conf.h>          /*  For struct swdevt.  */

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to