mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Include <sys/sysctl.h>, to get the declarations of ostype and
osrelease. Remove the duplicate declarations from this file.
This commit is contained in:
parent
4cbe4bf979
commit
44979e8d7a
1 changed files with 1 additions and 2 deletions
|
|
@ -51,6 +51,7 @@ __FBSDID("$FreeBSD$");
|
|||
#include <sys/disk.h>
|
||||
#include <sys/stat.h>
|
||||
#include <sys/disklabel.h>
|
||||
#include <sys/sysctl.h>
|
||||
#include <machine/bus.h>
|
||||
|
||||
#include <dev/iir/iir.h>
|
||||
|
|
@ -83,8 +84,6 @@ static int iir_devsw_installed = 0;
|
|||
static int sdev_made = 0;
|
||||
#endif
|
||||
extern int gdt_cnt;
|
||||
extern char ostype[];
|
||||
extern char osrelease[];
|
||||
extern gdt_statist_t gdt_stat;
|
||||
|
||||
/*
|
||||
|
|
|
|||
Loading…
Reference in a new issue