tree: Include missing headers for function prototypes

These files all contain functions whose prototypes are in header files,
so make sure those header files are included.

Change-Id: I0189a1550bf90d4a0b87dcef9f8a8449590cc9d7
Signed-off-by: Jacob Garber <jgarber1@ualberta.ca>
Reviewed-on: https://review.coreboot.org/c/flashrom/+/33668
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Nico Huber <nico.h@gmx.de>
diff --git a/hwaccess.c b/hwaccess.c
index bb5aac4..48ccb34 100644
--- a/hwaccess.c
+++ b/hwaccess.c
@@ -27,6 +27,7 @@
 #include <fcntl.h>
 #endif
 #include "flash.h"
+#include "programmer.h"
 #include "hwaccess.h"
 
 #if !(IS_LINUX || IS_MACOSX || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__FreeBSD__) || defined(__FreeBSD_kernel__) || defined(__DragonFly__) || defined(__DJGPP__) || defined(__LIBPAYLOAD__) || defined(__sun) || defined(__gnu_hurd__))