Always include <sys/cdefs.h>.
I made a mistake caught by code review earlier, so let's try to be
safer by default.
This patch also moves all our "forwarding" headers to the guardless
just-include-the-other-thing style that we usually use. (Where we
have a comment explaining where the header comes from, I've kept
that.)
Change-Id: I37342cf5e2563c6a269b2ba61a697069b1c7913b
diff --git a/libc/include/ftw.h b/libc/include/ftw.h
index ac901cc..cb8ae7d 100644
--- a/libc/include/ftw.h
+++ b/libc/include/ftw.h
@@ -25,8 +25,9 @@
#ifndef _FTW_H
#define _FTW_H
-#include <sys/types.h>
+#include <sys/cdefs.h>
#include <sys/stat.h>
+#include <sys/types.h>
/*
* Valid flags for the 3rd argument to the function that is passed as the