diff --git a/util.c b/util.c index 74f2d11b94..3d0c61a743 100644 --- a/util.c +++ b/util.c @@ -208,13 +208,6 @@ ruby_strtoul(const char *str, char **endptr, int base) #ifdef HAVE_UNISTD_H #include #endif -#if defined(HAVE_FCNTL_H) -#include -#endif - -#ifndef S_ISDIR -# define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) -#endif typedef int (cmpfunc_t)(const void*, const void*, void*);