]> git.armaanb.net Git - opendoas.git/blobdiff - libopenbsd/closefrom.c
timestamp: error out if fstat and lstat st_ino and st_dev are not the same
[opendoas.git] / libopenbsd / closefrom.c
index b56476a2d85895d1d378ffeeba09da892552ce3f..ef7d611b003853b7955b7ec838fa0a9600ea7ea5 100644 (file)
@@ -69,7 +69,7 @@ void
 closefrom(int lowfd)
 {
     long fd, maxfd;
-#if defined(HAVE_DIRFD) && defined(HAVE_PROC_PID)
+#if defined(HAVE_PROC_PID)
     char fdpath[PATH_MAX], *endp;
     struct dirent *dent;
     DIR *dirp;