diff options
Diffstat (limited to 'libbutl/fdstream.cxx')
-rw-r--r-- | libbutl/fdstream.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libbutl/fdstream.cxx b/libbutl/fdstream.cxx index 54f3e9e..e108df5 100644 --- a/libbutl/fdstream.cxx +++ b/libbutl/fdstream.cxx @@ -1047,7 +1047,7 @@ namespace butl // which will cause all kinds of problems upstream (e.g., cpfile()). So we // detect and diagnose this. // -#ifdef __FreeBSD__ +#if defined(__FreeBSD__) || defined(__NetBSD__) { struct stat s; if (stat (f, &s) == 0 && S_ISDIR (s.st_mode)) |