diff options
Diffstat (limited to 'sim/bpf')
-rw-r--r-- | sim/bpf/ChangeLog | 4 | ||||
-rw-r--r-- | sim/bpf/bpf-helpers.c | 3 | ||||
-rw-r--r-- | sim/bpf/bpf.c | 3 | ||||
-rw-r--r-- | sim/bpf/sim-if.c | 3 | ||||
-rw-r--r-- | sim/bpf/traps.c | 3 |
5 files changed, 16 insertions, 0 deletions
diff --git a/sim/bpf/ChangeLog b/sim/bpf/ChangeLog index 689c76b..69156e6 100644 --- a/sim/bpf/ChangeLog +++ b/sim/bpf/ChangeLog @@ -1,5 +1,9 @@ 2021-05-16 Mike Frysinger <vapier@gentoo.org> + * bpf-helpers.c, bpf.c, sim-if.c, traps.c: Include defs.h. + +2021-05-16 Mike Frysinger <vapier@gentoo.org> + * config.in, configure: Regenerate. 2021-05-04 Mike Frysinger <vapier@gentoo.org> diff --git a/sim/bpf/bpf-helpers.c b/sim/bpf/bpf-helpers.c index d7760d5..c308812 100644 --- a/sim/bpf/bpf-helpers.c +++ b/sim/bpf/bpf-helpers.c @@ -21,6 +21,9 @@ implementation of the helpers, which can be customized by the user. */ +/* This must come before any other includes. */ +#include "defs.h" + #define WANT_CPU_BPFBF #define WANT_CPU bpfbf diff --git a/sim/bpf/bpf.c b/sim/bpf/bpf.c index a0cc803..c626781 100644 --- a/sim/bpf/bpf.c +++ b/sim/bpf/bpf.c @@ -16,6 +16,9 @@ You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>. */ +/* This must come before any other includes. */ +#include "defs.h" + #define WANT_CPU_BPFBF #define WANT_CPU bpfbf diff --git a/sim/bpf/sim-if.c b/sim/bpf/sim-if.c index c2c01fc..185e96d 100644 --- a/sim/bpf/sim-if.c +++ b/sim/bpf/sim-if.c @@ -16,6 +16,9 @@ You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>. */ +/* This must come before any other includes. */ +#include "defs.h" + #include <stdlib.h> #include "sim-main.h" diff --git a/sim/bpf/traps.c b/sim/bpf/traps.c index b58d17f..85da1cb 100644 --- a/sim/bpf/traps.c +++ b/sim/bpf/traps.c @@ -16,6 +16,9 @@ You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>. */ +/* This must come before any other includes. */ +#include "defs.h" + #define WANT_CPU bpfbf #define WANT_CPU_BPFBF |