NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: lib/49696: circular includes in sys/



The following reply was made to PR lib/49696; it has been noted by GNATS.

From: David Holland <dholland-bugs%netbsd.org@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: 
Subject: Re: lib/49696: circular includes in sys/
Date: Thu, 26 Feb 2015 04:23:59 +0000

 On Thu, Feb 26, 2015 at 04:20:00AM +0000, David Holland wrote:
  > Actually, it doesn't:
  > [...]
 
 A workaround for this is to add #include <sys/types.h> *outside* the
 include guard in machine/bswap.h and sys/bswap.h. However, this if
 anything makes the circularity worse. This should be fixed properly...
 sometime... not sure it's entirely feasible without the big header
 reorg that needs rename support in version control.
 
 -- 
 David A. Holland
 dholland%netbsd.org@localhost
 


Home | Main Index | Thread Index | Old Index