adapt res_msend DNS query core for working with multiple sockets
[musl] / include / ftw.h
index e7e8fde..b15c062 100644 (file)
@@ -5,9 +5,7 @@
 extern "C" {
 #endif
 
-/* Normally we do not nest header includes. However useless bloat
- * like ftw may be treated as a special case. Otherwise we would
- * have to deal with duplicating all the stat.h mess. */
+#include <features.h>
 #include <sys/stat.h>
 
 #define FTW_F   1
@@ -23,8 +21,7 @@ extern "C" {
 #define FTW_CHDIR 4
 #define FTW_DEPTH 8
 
-struct FTW
-{
+struct FTW {
        int base;
        int level;
 };