X-Git-Url: http://git.pk910.de/?p=ircu2.10.12-pk.git;a=blobdiff_plain;f=ircd%2Ftest%2Fircd_match_t.c;h=b675cd644f0770c2ee5b19090f72362cdc0098d8;hp=9c45495d3ac4b4aef0256c0619a5f75162ef7eac;hb=18f0d7529de0b14fb8118fd5ecc2f275ffe515e8;hpb=5085883cd2bea9abd8216c4ca1ce4bc46b506910 diff --git a/ircd/test/ircd_match_t.c b/ircd/test/ircd_match_t.c index 9c45495..b675cd6 100644 --- a/ircd/test/ircd_match_t.c +++ b/ircd/test/ircd_match_t.c @@ -20,6 +20,14 @@ # endif #endif +#if !defined(_SC_PAGE_SIZE) +# if defined(_SC_PAGESIZE) +# define _SC_PAGE_SIZE _SC_PAGESIZE +# else +# error I do not know how to request the page size from your OS. +# endif +#endif + struct match_test { const char *glob; const char *should_match;