summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkettenis <kettenis@openbsd.org>2009-01-28 19:19:00 +0000
committerkettenis <kettenis@openbsd.org>2009-01-28 19:19:00 +0000
commit545abc5688771d8b5e8b17d57769040e42f50e22 (patch)
tree9242e4e7f0c3a4242286ea7d35185350118619fa
parentBlock Ack agreements are unidirectional. (diff)
downloadwireguard-openbsd-545abc5688771d8b5e8b17d57769040e42f50e22.tar.xz
wireguard-openbsd-545abc5688771d8b5e8b17d57769040e42f50e22.zip
Remove unneeded include; fixes build problems with some ports that
#include <math.h> and expect the C99 macros in that file to be available in the global namespace. This include was removed upstream some time after the libstdc++ we use was released. ok naddy@
-rw-r--r--gnu/lib/libstdc++/libstdc++/include/bits/locale_facets.tcc1
1 files changed, 0 insertions, 1 deletions
diff --git a/gnu/lib/libstdc++/libstdc++/include/bits/locale_facets.tcc b/gnu/lib/libstdc++/libstdc++/include/bits/locale_facets.tcc
index b3013c75cbf..30c8ac28c20 100644
--- a/gnu/lib/libstdc++/libstdc++/include/bits/locale_facets.tcc
+++ b/gnu/lib/libstdc++/libstdc++/include/bits/locale_facets.tcc
@@ -38,7 +38,6 @@
#include <cerrno>
#include <clocale> // For localeconv
#include <cstdlib> // For strof, strtold
-#include <cmath> // For ceil
#include <cctype> // For isspace
#include <limits> // For numeric_limits
#include <typeinfo> // For bad_cast.