aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--newlib/libc/include/sys/tree.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/newlib/libc/include/sys/tree.h b/newlib/libc/include/sys/tree.h
index d85c44f..f9324d5 100644
--- a/newlib/libc/include/sys/tree.h
+++ b/newlib/libc/include/sys/tree.h
@@ -32,6 +32,10 @@
#ifndef _SYS_TREE_H_
#define _SYS_TREE_H_
+#ifndef __PERMIT_DEPRECATED_SYS_TREE_H
+#warning "sys/tree.h is deprecated and will be removed in the future."
+#endif
+
#include <sys/cdefs.h>
/*