spl: spl_mmc: fix getting raw_sect when boot from emmc boot partition
[oweals/u-boot.git] / common / bootm.c
index 4629cdd82d4acb330fbf983fa8afae153cd1f57a..02295daf79f1f6452a6e2120be64e8955b22c07c 100644 (file)
@@ -7,6 +7,7 @@
 #ifndef USE_HOSTCC
 #include <common.h>
 #include <bootstage.h>
+#include <env.h>
 #include <errno.h>
 #include <fdt_support.h>
 #include <lmb.h>