Lines 1-20
Link Here
|
1 |
--- opaque.c.orig 2019-02-20 00:22:27 UTC |
|
|
2 |
+++ opaque.c |
3 |
@@ -54,13 +54,17 @@ |
4 |
#include <assert.h> //assert |
5 |
#include <err.h> //warnx |
6 |
#include <errno.h> //errno |
7 |
+#if defined(__amd64__) || defined(__i386__) |
8 |
#include <machine/pc/bios.h> |
9 |
+#endif |
10 |
#include <stdbool.h> |
11 |
#include <stdio.h> //printf |
12 |
#include <stdlib.h> //free |
13 |
#include <string.h> //strdup |
14 |
#include <unistd.h> //getpagesize |
15 |
+#if defined(__amd64__) || defined(__i386__) |
16 |
#include <x86/metadata.h> |
17 |
+#endif |
18 |
|
19 |
#include <libxo/xo.h> |
20 |
#include <sysctlmibinfo.h> |