summaryrefslogtreecommitdiff
path: root/include/bsd/inet.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/bsd/inet.h')
-rw-r--r--include/bsd/inet.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/bsd/inet.h b/include/bsd/inet.h
index 5f4862d..223baf5 100644
--- a/include/bsd/inet.h
+++ b/include/bsd/inet.h
@@ -27,7 +27,11 @@
#ifndef LIBBSD_INET_H
#define LIBBSD_INET_H
+#ifdef LIBBSD_DISABLE_DEPRECATED
+#error "Deprecated header, use <arpa/inet.h> instead."
+#else
#warning "Deprecated header, use <arpa/inet.h> instead."
+#endif
#include <arpa/inet.h>