From owner-freebsd-current Mon Oct 2 3: 6:22 2000 Delivered-To: freebsd-current@freebsd.org Received: from critter.freebsd.dk (flutter.freebsd.dk [212.242.40.147]) by hub.freebsd.org (Postfix) with ESMTP id 5E68B37B502 for ; Mon, 2 Oct 2000 03:06:19 -0700 (PDT) Received: from critter (localhost [127.0.0.1]) by critter.freebsd.dk (8.11.0/8.9.3) with ESMTP id e92A6IN18800 for ; Mon, 2 Oct 2000 12:06:18 +0200 (CEST) (envelope-from phk@critter.freebsd.dk) To: current@freebsd.org Subject: #include in From: Poul-Henning Kamp Date: Mon, 02 Oct 2000 12:06:18 +0200 Message-ID: <18798.970481178@critter> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Trying to compile the ircII port, it crashes with: ===> Building for ircii-4.4X cc -I. -I/usr/ports/irc/ircII/work/ircii-4.4X/include -O -pipe -DHAVE_CONFIG_H -c /usr/ports/irc/ircII/work/ircii-4.4X/source/alias.c In file included from /usr/include/sys/queue.h:40, from /usr/include/netinet6/in6.h:76, from /usr/include/netinet/in.h:475, from /usr/ports/irc/ircII/work/ircii-4.4X/include/irc.h:79, from /usr/ports/irc/ircII/work/ircii-4.4X/source/alias.c:35: /usr/ports/irc/ircII/work/ircii-4.4X/include/struct.h:51: syntax error before `_' This is because there is a file called "struct.h" in the ircII distribution. The addition of #include to looks a bit unsettling to me: A sys/* file shouldn't reference a /usr/include file I think ? Is the correct thing not to mv to , create a which just pulls in and have #include ? -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD coreteam member | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message