pahole: fix more __always_inline issues

This commit is contained in:
Andrew Benson 2021-12-15 13:20:28 -06:00
parent 66d9b0418e
commit a30ea1256c
2 changed files with 14 additions and 1 deletions

View file

@ -24,3 +24,16 @@
#ifndef _GNU_SOURCE
#define _GNU_SOURCE
#endif
--- a/lib/bpf/src/gen_loader.c
+++ b/lib/bpf/src/gen_loader.c
@@ -1,5 +1,10 @@
// SPDX-License-Identifier: (LGPL-2.1 OR BSD-2-Clause)
/* Copyright (c) 2021 Facebook */
+
+#ifndef __always_inline
+#define __always_inline inline
+#endif
+
#include <stdio.h>
#include <stdlib.h>
#include <string.h>

View file

@ -1,7 +1,7 @@
# Template file for 'pahole'
pkgname=pahole
version=1.23
revision=1
revision=2
wrksrc="dwarves-${version}"
build_style=cmake
configure_args="-D__LIB=lib"