diff options
Diffstat (limited to 'kern/sprintf.h')
-rw-r--r-- | kern/sprintf.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/kern/sprintf.h b/kern/sprintf.h index 0c097953..0c3fb839 100644 --- a/kern/sprintf.h +++ b/kern/sprintf.h @@ -28,6 +28,9 @@ #ifndef _KERN_SPRINTF_H #define _KERN_SPRINTF_H +#ifndef _STDIO_H +#error "do not use <kern/sprintf.h> directly; include <stdio.h> instead" +#endif /* _STDIO_H */ #include <stdarg.h> #include <kern/macros.h> |