diff options
author | Michael Brown | 2005-04-17 12:44:26 +0200 |
---|---|---|
committer | Michael Brown | 2005-04-17 12:44:26 +0200 |
commit | 664ffea69724e804811a10db5474e763d8f0b3eb (patch) | |
tree | d124b17f926ec8ad4719d9b9539ed5e4ea568922 /src/core/vsprintf.c | |
parent | Automatically drag in console.h if DBG() is being defined as printf(). (diff) | |
download | ipxe-664ffea69724e804811a10db5474e763d8f0b3eb.tar.gz ipxe-664ffea69724e804811a10db5474e763d8f0b3eb.tar.xz ipxe-664ffea69724e804811a10db5474e763d8f0b3eb.zip |
Gave vsprintf.c its own header file, and made console.h include it.
Diffstat (limited to 'src/core/vsprintf.c')
-rw-r--r-- | src/core/vsprintf.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/core/vsprintf.c b/src/core/vsprintf.c index b22ae310..414b4509 100644 --- a/src/core/vsprintf.c +++ b/src/core/vsprintf.c @@ -1,5 +1,8 @@ -#include "etherboot.h" #include <stdarg.h> +#include "if_ether.h" /* for ETH_ALEN */ +#include "limits.h" /* for CHAR_BIT */ +#include "console.h" +#include "vsprintf.h" #define LONG_SHIFT ((int)((sizeof(unsigned long)*CHAR_BIT) - 4)) #define INT_SHIFT ((int)((sizeof(unsigned int)*CHAR_BIT) - 4)) |