Is there a header conflict?

Terry Lambert tlambert2 at mindspring.com
Tue Apr 22 13:17:31 PDT 2003


Bruce Evans wrote:
> On Mon, 21 Apr 2003, Terry Lambert wrote:
> > User programs should not reference the "machine" headers directly.
> 
> Also, including <machine/types.h> should fail earlier because this header
> shouldn't exist.  It was renamed to <machine/_types.h> in -current to
> inhibit direct inclusion of it.

That's a thought...

This is probably an "upgraded" system that failed to delete an
old header file, and, as a result, the "configure" program for
the package found it and decided to include it.

If you have /usr/include/machine/_types.h, then:

	rm /usr/include/machine/types.h

-- Terry


More information about the freebsd-current mailing list