diff options
Diffstat (limited to 'include/bsd/random.h')
-rw-r--r-- | include/bsd/random.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/bsd/random.h b/include/bsd/random.h index bfbd0ab..7b35f8b 100644 --- a/include/bsd/random.h +++ b/include/bsd/random.h @@ -27,7 +27,11 @@ #ifndef LIBBSD_RANDOM_H #define LIBBSD_RANDOM_H +#ifdef LIBBSD_DISABLE_DEPRECATED +#error "Deprecated header, use <bsd/stdlib.h> instead." +#else #warning "Deprecated header, use <bsd/stdlib.h> instead." +#endif #include <bsd/stdlib.h> |