adapt res_msend DNS query core for working with multiple sockets
[musl] / src / complex / clogl.c
index 5b84ba5..88e83e8 100644 (file)
@@ -1,4 +1,4 @@
-#include "libm.h"
+#include "complex_impl.h"
 
 #if LDBL_MANT_DIG == 53 && LDBL_MAX_EXP == 1024
 long double complex clogl(long double complex z)
@@ -13,6 +13,6 @@ long double complex clogl(long double complex z)
 
        r = cabsl(z);
        phi = cargl(z);
-       return cpackl(logl(r), phi);
+       return CMPLXL(logl(r), phi);
 }
 #endif