From mboxrd@z Thu Jan 1 00:00:00 1970 To: 9fans@cse.psu.edu Subject: Re: [9fans] /ape/sys/time.h From: anothy@cosym.net MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit Message-Id: <20010919152346.456A319A4E@mail.cse.psu.edu> Date: Wed, 19 Sep 2001 11:23:34 -0400 Topicbox-Message-UUID: edda092a-eac9-11e9-9e20-41e7f4b1d025 to expand on rog's response: there are a number of header files which arn't defined in pure ANSI or POSIX which many vendors include in "ANSI/POSIX" environments anyway. Plan 9's APE takes a stricter approach; if you say you're using ANSI/POSIX, that's what you get. if you want more, you need to #define for those headers. APE ensures you get this right by including lines that're not valid C code, so the compiler fails, making sure you'll notice your mistake. the common fix is to add the defines to your command line or ma?ke?file. check out the APE paper (/sys/doc/ape.ps), page 3, for a list of what defines are understood to allow extra stuff. as rog noted, _BSD_EXTENSION is the most common. -α.