Include machine/md_var to pick up __syncicache prototype.

Sponsored by: Netflix
This commit is contained in:
Warner Losh 2017-12-03 04:54:54 +00:00
parent 7287ae743c
commit a76b2d3d57
3 changed files with 5 additions and 2 deletions

View File

@ -32,6 +32,9 @@ __FBSDID("$FreeBSD$");
#include <machine/metadata.h>
#include <machine/elf.h>
#if defined(__powerpc__)
#include <machine/md_var.h>
#endif
#include <stand.h>

View File

@ -34,6 +34,7 @@ __FBSDID("$FreeBSD$");
#include <machine/metadata.h>
#include <machine/elf.h>
#include <machine/md_var.h>
#include <stand.h>

View File

@ -22,6 +22,7 @@ __FBSDID("$FreeBSD$");
#include <sys/dirent.h>
#include <machine/elf.h>
#include <machine/stdarg.h>
#include <machine/md_var.h>
#include "paths.h"
@ -75,8 +76,6 @@ static int __sputc(char c, void *arg);
static char *__uitoa(char *buf, u_int val, int base);
static char *__ultoa(char *buf, u_long val, int base);
void __syncicache(void *, int);
/*
* Open Firmware interface functions
*/