Doing make menuconfig on a libc5 systems didn't work. The attached patch
should fix this.
The problem is that including <sys/types.h>, includes <linux/types.h>,
which tried to include <linux/config.h>, which doesn't exist yet.
I've made it only include <linux/config.h> for kernel compiles. The only
place that needs something from that <linu/config.h> is inside #ifdef
__KERNEL__ too.
lxdialog was compiled with __KERNEL__ defined, because
$(TOPDIR)/Rules.make wasn't included, and then make uses a default make
rules, which uses $(CPPFLAGS), which defines the __KERNEL__.
Kurt
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Wed May 31 2000 - 21:00:16 EST