diff --git a/COPYING b/COPYING
index 701ae4faba42922fe1446755e0693b2c858f297c..79c04051d79b920c642dcf5950106721e0e5c408 100644
--- a/COPYING
+++ b/COPYING
@@ -1,4 +1,4 @@
-Copyright (c) 2007-2022 Yoran Heling
+Copyright (c) 2007-2023 Yoran Heling
 
 Permission is hereby granted, free of charge, to any person obtaining
 a copy of this software and associated documentation files (the
diff --git a/ChangeLog b/ChangeLog
index fae46bf224dd07abe521cd654906ccdbb8a1a8a8..61523bb2ee90851eb69ba79fd99e73e85609e707 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,6 @@
+1.18.1 - 2023-02-12
+	- Fix build on non-Linux platforms
+
 1.18 - 2022-12-06
 	- Fix 'dark-bg' color scheme to actually have a dark background
 	- Backport configuration file support from 2.x
diff --git a/README b/README
index 13ed30af31ef318915cd71ea798da123962823ec..0ccf091eecb2bcb34a8f52afc10afcf0b1ec3980 100644
--- a/README
+++ b/README
@@ -1,5 +1,5 @@
-ncdu 1.18
-=========
+ncdu 1.18.1
+===========
 
 DESCRIPTION
 
@@ -33,7 +33,7 @@ INSTALL
 
 COPYING
 
-  Copyright (c) 2007-2022 Yoran Heling
+  Copyright (c) 2007-2023 Yoran Heling
 
   Permission is hereby granted, free of charge, to any person obtaining
   a copy of this software and associated documentation files (the
diff --git a/configure.ac b/configure.ac
index a9454717dddde68e874e3b4b42e61389c66652ec..6f2f7b229101db9728cd2028ebfd7d67ffa1798c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,5 +1,5 @@
 
-AC_INIT([ncdu],[1.18],[projects@yorhel.nl])
+AC_INIT([ncdu],[1.18.1],[projects@yorhel.nl])
 AC_CONFIG_SRCDIR([src/global.h])
 AC_CONFIG_HEADERS([config.h])
 AM_INIT_AUTOMAKE([foreign std-options subdir-objects])
diff --git a/src/browser.c b/src/browser.c
index 2e29ee85784222ef9b6296a879355437892bf8e2..71251e45b09304603c69c61762d0826a55804f69 100644
--- a/src/browser.c
+++ b/src/browser.c
@@ -1,6 +1,6 @@
 /* ncdu - NCurses Disk Usage
 
-  Copyright (c) 2007-2022 Yoran Heling
+  Copyright (c) 2007-2023 Yoran Heling
 
   Permission is hereby granted, free of charge, to any person obtaining
   a copy of this software and associated documentation files (the
diff --git a/src/browser.h b/src/browser.h
index b23ddf2cab90bf9aaf81049492ded9ce602098b1..8bdea7cc08b978f32886e4527a8d558a8dd20607 100644
--- a/src/browser.h
+++ b/src/browser.h
@@ -1,6 +1,6 @@
 /* ncdu - NCurses Disk Usage
 
-  Copyright (c) 2007-2022 Yoran Heling
+  Copyright (c) 2007-2023 Yoran Heling
 
   Permission is hereby granted, free of charge, to any person obtaining
   a copy of this software and associated documentation files (the
diff --git a/src/delete.c b/src/delete.c
index 8fe1dc8d3d18b88b0cd120a8d03f2b3c3f0bbe38..ac495b00969336e27b2d54f67ad9d65c7623ebd8 100644
--- a/src/delete.c
+++ b/src/delete.c
@@ -1,6 +1,6 @@
 /* ncdu - NCurses Disk Usage
 
-  Copyright (c) 2007-2022 Yoran Heling
+  Copyright (c) 2007-2023 Yoran Heling
 
   Permission is hereby granted, free of charge, to any person obtaining
   a copy of this software and associated documentation files (the
diff --git a/src/delete.h b/src/delete.h
index 527dd9db91375f89d523da0f359afb66ac966337..30ac3cf341eb18596b6ca7e1c9911ccd29d3f735 100644
--- a/src/delete.h
+++ b/src/delete.h
@@ -1,6 +1,6 @@
 /* ncdu - NCurses Disk Usage
 
-  Copyright (c) 2007-2022 Yoran Heling
+  Copyright (c) 2007-2023 Yoran Heling
 
   Permission is hereby granted, free of charge, to any person obtaining
   a copy of this software and associated documentation files (the
diff --git a/src/dir.h b/src/dir.h
index 653eb2eab7f58f4db0cbae9a438efa1048fce362..2c4669e466c206345f2d4378c9dd5f0297db90ad 100644
--- a/src/dir.h
+++ b/src/dir.h
@@ -1,6 +1,6 @@
 /* ncdu - NCurses Disk Usage
 
-  Copyright (c) 2007-2022 Yoran Heling
+  Copyright (c) 2007-2023 Yoran Heling
 
   Permission is hereby granted, free of charge, to any person obtaining
   a copy of this software and associated documentation files (the
diff --git a/src/dir_common.c b/src/dir_common.c
index 2acc7eaba096560b61092eee4b4278a4fc9fcc19..cf9def73af8519ac9196726bfb310d8548396588 100644
--- a/src/dir_common.c
+++ b/src/dir_common.c
@@ -1,6 +1,6 @@
 /* ncdu - NCurses Disk Usage
 
-  Copyright (c) 2007-2022 Yoran Heling
+  Copyright (c) 2007-2023 Yoran Heling
 
   Permission is hereby granted, free of charge, to any person obtaining
   a copy of this software and associated documentation files (the
diff --git a/src/dir_export.c b/src/dir_export.c
index b458ba4453bbb9c93bb7c83cd10231adc2c7adb6..b6c2be4246d6a85333cc9ebde563224be48377ed 100644
--- a/src/dir_export.c
+++ b/src/dir_export.c
@@ -1,6 +1,6 @@
 /* ncdu - NCurses Disk Usage
 
-  Copyright (c) 2007-2022 Yoran Heling
+  Copyright (c) 2007-2023 Yoran Heling
 
   Permission is hereby granted, free of charge, to any person obtaining
   a copy of this software and associated documentation files (the
diff --git a/src/dir_import.c b/src/dir_import.c
index b76e3a7e74d4881e5f164a1ba975d00cb9cdd8fc..eb3e91df7f8b307d391dd999f9097fcbbe71c03c 100644
--- a/src/dir_import.c
+++ b/src/dir_import.c
@@ -1,6 +1,6 @@
 /* ncdu - NCurses Disk Usage
 
-  Copyright (c) 2007-2022 Yoran Heling
+  Copyright (c) 2007-2023 Yoran Heling
 
   Permission is hereby granted, free of charge, to any person obtaining
   a copy of this software and associated documentation files (the
diff --git a/src/dir_mem.c b/src/dir_mem.c
index ed6afc8b96939ecde8c0c8aa0d9ce7adc890e18a..4a648f16a10ac75a5c5ed853993ff53a4ca24c89 100644
--- a/src/dir_mem.c
+++ b/src/dir_mem.c
@@ -1,6 +1,6 @@
 /* ncdu - NCurses Disk Usage
 
-  Copyright (c) 2007-2022 Yoran Heling
+  Copyright (c) 2007-2023 Yoran Heling
 
   Permission is hereby granted, free of charge, to any person obtaining
   a copy of this software and associated documentation files (the
diff --git a/src/dir_scan.c b/src/dir_scan.c
index 9c182f3449489817ce9d11b57dcf2af8eec2add2..3418c99e79c7d01c3be0447323eea6b441a2eb78 100644
--- a/src/dir_scan.c
+++ b/src/dir_scan.c
@@ -1,6 +1,6 @@
 /* ncdu - NCurses Disk Usage
 
-  Copyright (c) 2007-2022 Yoran Heling
+  Copyright (c) 2007-2023 Yoran Heling
 
   Permission is hereby granted, free of charge, to any person obtaining
   a copy of this software and associated documentation files (the
diff --git a/src/dirlist.c b/src/dirlist.c
index c897ce6049910b2c883d29ac5042ba070e2b5250..522a570357d71a60df0a939b54ed6a635603ec83 100644
--- a/src/dirlist.c
+++ b/src/dirlist.c
@@ -1,6 +1,6 @@
 /* ncdu - NCurses Disk Usage
 
-  Copyright (c) 2007-2022 Yoran Heling
+  Copyright (c) 2007-2023 Yoran Heling
 
   Permission is hereby granted, free of charge, to any person obtaining
   a copy of this software and associated documentation files (the
diff --git a/src/dirlist.h b/src/dirlist.h
index 702b1c727ed0fbffbe0e80c36556936f713edfb5..4086246d5908d045b73f05804a28a30f82140663 100644
--- a/src/dirlist.h
+++ b/src/dirlist.h
@@ -1,6 +1,6 @@
 /* ncdu - NCurses Disk Usage
 
-  Copyright (c) 2007-2022 Yoran Heling
+  Copyright (c) 2007-2023 Yoran Heling
 
   Permission is hereby granted, free of charge, to any person obtaining
   a copy of this software and associated documentation files (the
diff --git a/src/exclude.c b/src/exclude.c
index b6eb437bffbd3b31c38ee61c939e81bae428b668..32072591f25b9122fef37ebeaa94f7cbeca5f1d3 100644
--- a/src/exclude.c
+++ b/src/exclude.c
@@ -1,6 +1,6 @@
 /* ncdu - NCurses Disk Usage
 
-  Copyright (c) 2007-2022 Yoran Heling
+  Copyright (c) 2007-2023 Yoran Heling
 
   Permission is hereby granted, free of charge, to any person obtaining
   a copy of this software and associated documentation files (the
diff --git a/src/exclude.h b/src/exclude.h
index 4d4a1a7dbb27b60122be6fce1229421fe14f3aab..c852f6e73424a7874c68177be3ce1e0c740e46f4 100644
--- a/src/exclude.h
+++ b/src/exclude.h
@@ -1,6 +1,6 @@
 /* ncdu - NCurses Disk Usage
 
-  Copyright (c) 2007-2022 Yoran Heling
+  Copyright (c) 2007-2023 Yoran Heling
 
   Permission is hereby granted, free of charge, to any person obtaining
   a copy of this software and associated documentation files (the
diff --git a/src/global.h b/src/global.h
index 9d86958e9ce3eab565aacc8ec821e4032402a2a7..9899e7e7aff9161bf7cee988172c16e182c1e0fc 100644
--- a/src/global.h
+++ b/src/global.h
@@ -1,6 +1,6 @@
 /* ncdu - NCurses Disk Usage
 
-  Copyright (c) 2007-2022 Yoran Heling
+  Copyright (c) 2007-2023 Yoran Heling
 
   Permission is hereby granted, free of charge, to any person obtaining
   a copy of this software and associated documentation files (the
diff --git a/src/help.c b/src/help.c
index 9471d0b51dae238e806783dbf1db7f4cbd52ccc0..714c1578c4035a2e46717d2797bcea146a9638b9 100644
--- a/src/help.c
+++ b/src/help.c
@@ -1,6 +1,6 @@
 /* ncdu - NCurses Disk Usage
 
-  Copyright (c) 2007-2022 Yoran Heling
+  Copyright (c) 2007-2023 Yoran Heling
 
   Permission is hereby granted, free of charge, to any person obtaining
   a copy of this software and associated documentation files (the
diff --git a/src/help.h b/src/help.h
index 12e0fefc6d2cdb803b71dae6517d4d498acb860a..13d33881ff5e080bc05639c14a05a6b6243c4d31 100644
--- a/src/help.h
+++ b/src/help.h
@@ -1,6 +1,6 @@
 /* ncdu - NCurses Disk Usage
 
-  Copyright (c) 2007-2022 Yoran Heling
+  Copyright (c) 2007-2023 Yoran Heling
 
   Permission is hereby granted, free of charge, to any person obtaining
   a copy of this software and associated documentation files (the
diff --git a/src/main.c b/src/main.c
index cc2ac30c023edbae0da8466cd1674f153371a87b..8a9fc11d140d5803229f3bcbedfc3d87bc882ddb 100644
--- a/src/main.c
+++ b/src/main.c
@@ -1,6 +1,6 @@
 /* ncdu - NCurses Disk Usage
 
-  Copyright (c) 2007-2022 Yoran Heling
+  Copyright (c) 2007-2023 Yoran Heling
 
   Permission is hereby granted, free of charge, to any person obtaining
   a copy of this software and associated documentation files (the
diff --git a/src/path.c b/src/path.c
index aaea32d4f76c9fe58e73d24b3555a19b22fd29b7..7061e0d47e204daca41ab6a88fbf2a3a02a6bd25 100644
--- a/src/path.c
+++ b/src/path.c
@@ -1,6 +1,6 @@
 /* ncdu - NCurses Disk Usage
 
-  Copyright (c) 2007-2022 Yoran Heling
+  Copyright (c) 2007-2023 Yoran Heling
 
   Permission is hereby granted, free of charge, to any person obtaining
   a copy of this software and associated documentation files (the
diff --git a/src/path.h b/src/path.h
index d07d83ce4fd0102b532f4f7590151c571ae6cd8e..500c52f7df4bdff1bfe0019c384be453f3cc13f4 100644
--- a/src/path.h
+++ b/src/path.h
@@ -1,6 +1,6 @@
 /* ncdu - NCurses Disk Usage
 
-  Copyright (c) 2007-2022 Yoran Heling
+  Copyright (c) 2007-2023 Yoran Heling
 
   Permission is hereby granted, free of charge, to any person obtaining
   a copy of this software and associated documentation files (the
diff --git a/src/quit.c b/src/quit.c
index bcc82c5d6e018cbfaa5d029d27533975e0f358cd..e3186d8d45722cee5eda1f2c79eb66959538e0e0 100644
--- a/src/quit.c
+++ b/src/quit.c
@@ -1,6 +1,6 @@
 /* ncdu - NCurses Disk Usage
 
-  Copyright (c) 2015-2022 Yoran Heling
+  Copyright (c) 2015-2023 Yoran Heling
 
   Permission is hereby granted, free of charge, to any person obtaining
   a copy of this software and associated documentation files (the
diff --git a/src/quit.h b/src/quit.h
index e431656add59ac542773a13ab587737ec242b303..0763cda25869cbb422a895f79312ad667f31eee3 100644
--- a/src/quit.h
+++ b/src/quit.h
@@ -1,6 +1,6 @@
 /* ncdu - NCurses Disk Usage
 
-  Copyright (c) 2015-2022 Yoran Heling
+  Copyright (c) 2015-2023 Yoran Heling
 
   Permission is hereby granted, free of charge, to any person obtaining
   a copy of this software and associated documentation files (the
diff --git a/src/shell.c b/src/shell.c
index c2cfff0a5d6d203a3dbb65af66d96199c72913ce..e762ed1bdd19923930b464983aaca92325b91d46 100644
--- a/src/shell.c
+++ b/src/shell.c
@@ -1,6 +1,6 @@
 /* ncdu - NCurses Disk Usage
 
-  Copyright (c) 2007-2022 Yoran Heling
+  Copyright (c) 2007-2023 Yoran Heling
   Shell support: Copyright (c) 2014 Thomas Jarosch
 
   Permission is hereby granted, free of charge, to any person obtaining
diff --git a/src/shell.h b/src/shell.h
index 4e0c2368ef45d47b062c929ad92b7d32f6d72dd2..cfafeeb87554d83155278955adbdd02420996f09 100644
--- a/src/shell.h
+++ b/src/shell.h
@@ -1,6 +1,6 @@
 /* ncdu - NCurses Disk Usage
 
-  Copyright (c) 2007-2022 Yoran Heling
+  Copyright (c) 2007-2023 Yoran Heling
   Shell support: Copyright (c) 2014 Thomas Jarosch
 
   Permission is hereby granted, free of charge, to any person obtaining
diff --git a/src/util.c b/src/util.c
index 16f7a39eb659d87936fcd2436d551841d59544c1..4979c2698e5af0937d50f8691d564bca802aabf6 100644
--- a/src/util.c
+++ b/src/util.c
@@ -1,6 +1,6 @@
 /* ncdu - NCurses Disk Usage
 
-  Copyright (c) 2007-2022 Yoran Heling
+  Copyright (c) 2007-2023 Yoran Heling
 
   Permission is hereby granted, free of charge, to any person obtaining
   a copy of this software and associated documentation files (the
diff --git a/src/util.h b/src/util.h
index 4d69951773d1e8935c2248a1fb8413a4e8506381..2e4cbcbb2d5ffb31e77c67df36bd7497acaae5df 100644
--- a/src/util.h
+++ b/src/util.h
@@ -1,6 +1,6 @@
 /* ncdu - NCurses Disk Usage
 
-  Copyright (c) 2007-2022 Yoran Heling
+  Copyright (c) 2007-2023 Yoran Heling
 
   Permission is hereby granted, free of charge, to any person obtaining
   a copy of this software and associated documentation files (the