summaryrefslogtreecommitdiffstats
path: root/src/drivers/bitbash
diff options
context:
space:
mode:
authorMarty Connor2006-09-27 07:57:06 +0200
committerMarty Connor2006-09-27 07:57:06 +0200
commit6ac78f6aff85b2a41d1c98011c41f622d569076a (patch)
tree04afe77db724f594b006504ccddd2b6464fd2c4b /src/drivers/bitbash
parentinclude stdio.h to suppress printf warning, general warnings fixups (diff)
downloadipxe-6ac78f6aff85b2a41d1c98011c41f622d569076a.tar.gz
ipxe-6ac78f6aff85b2a41d1c98011c41f622d569076a.tar.xz
ipxe-6ac78f6aff85b2a41d1c98011c41f622d569076a.zip
added stdio.h to includes for DBG compilation
Diffstat (limited to 'src/drivers/bitbash')
-rw-r--r--src/drivers/bitbash/i2c_bit.c2
-rw-r--r--src/drivers/bitbash/spi_bit.c1
2 files changed, 3 insertions, 0 deletions
diff --git a/src/drivers/bitbash/i2c_bit.c b/src/drivers/bitbash/i2c_bit.c
index 2551bb4f..1cf78c22 100644
--- a/src/drivers/bitbash/i2c_bit.c
+++ b/src/drivers/bitbash/i2c_bit.c
@@ -16,10 +16,12 @@
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
+#include <stdio.h>
#include <stddef.h>
#include <stdint.h>
#include <errno.h>
#include <assert.h>
+#include <timer.h>
#include <gpxe/bitbash.h>
#include <gpxe/i2c.h>
diff --git a/src/drivers/bitbash/spi_bit.c b/src/drivers/bitbash/spi_bit.c
index 20ad412c..add884a3 100644
--- a/src/drivers/bitbash/spi_bit.c
+++ b/src/drivers/bitbash/spi_bit.c
@@ -16,6 +16,7 @@
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
+#include <stdio.h>
#include <stddef.h>
#include <stdint.h>
#include <string.h>