summaryrefslogtreecommitdiff
path: root/src/admin/ladmin.cpp
diff options
context:
space:
mode:
authorgumi <git@gumi.ca>2019-08-28 00:03:29 -0400
committergumi <git@gumi.ca>2019-08-28 00:03:29 -0400
commit8d46d56dd3a826e8d9c028964a264bee34b18ac9 (patch)
tree6371dec0a990a7c8d65aeb0d49c330184573591d /src/admin/ladmin.cpp
parent98643b7f3f2a02c48cfcc7beea7e56554451acbc (diff)
downloadtmwa-8d46d56dd3a826e8d9c028964a264bee34b18ac9.tar.gz
tmwa-8d46d56dd3a826e8d9c028964a264bee34b18ac9.tar.bz2
tmwa-8d46d56dd3a826e8d9c028964a264bee34b18ac9.tar.xz
tmwa-8d46d56dd3a826e8d9c028964a264bee34b18ac9.zip
add support for musl-libc
Diffstat (limited to 'src/admin/ladmin.cpp')
-rw-r--r--src/admin/ladmin.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/admin/ladmin.cpp b/src/admin/ladmin.cpp
index ac9be1d..bb10bae 100644
--- a/src/admin/ladmin.cpp
+++ b/src/admin/ladmin.cpp
@@ -1504,7 +1504,7 @@ void prompt(void)
// get command and parameter
// TODO figure out a better way to do stdio
- static auto cin = make_unique<io::ReadFile>(io::FD::stdin().dup());
+ static auto cin = make_unique<io::ReadFile>(io::FD::stdin_().dup());
AString buf;
cin->getline(buf);