Antwort: Re: problem with swap.h
mummert&partner_meskesm@WestLB.de
Tue, 29 Sep 1998 12:23:52 +0100
>> It seems to me that there is a problem with swap.h in the latest
>> development source trees. My watchdog source includes it (via
sys/swap.h)
>> and then moans about the missing definition of PAGE_SIZE. Shouldn't
swap.h
>> include this?
>
>No, the library gives you a function getpagesize() which is the
>portable way to access this information.
I don't need the pagesize, but swap.h needs PAGE_SIZE and I need swap.h.
Michael
-
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/