summaryrefslogtreecommitdiffstats
path: root/src/core/vsprintf.c
diff options
context:
space:
mode:
authorMichael Brown2005-04-17 12:44:26 +0200
committerMichael Brown2005-04-17 12:44:26 +0200
commit664ffea69724e804811a10db5474e763d8f0b3eb (patch)
treed124b17f926ec8ad4719d9b9539ed5e4ea568922 /src/core/vsprintf.c
parentAutomatically drag in console.h if DBG() is being defined as printf(). (diff)
downloadipxe-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.c5
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))