diff --git a/lib/closeall.c b/lib/closeall.c index 6738d32..58fe6ca 100644 --- a/lib/closeall.c +++ b/lib/closeall.c @@ -1,6 +1,7 @@ -#include "system.h" +#include +#include -#ifdef linux +#ifdef __linux__ #include #endif @@ -12,7 +13,7 @@ int rpm_close_all (void) if (max <= 0) return -1; -#ifdef linux +#ifdef __linux__ if (max < NR_OPEN) max = NR_OPEN; #endif