Files
CKI KWF Bot b598a01b00 Merge: libperf build: Always place libperf includes first
MR: https://gitlab.com/redhat/centos-stream/src/kernel/centos-stream-10/-/merge_requests/2749

JIRA: https://redhat.atlassian.net/browse/RHEL-179033

A build race can happen when xyarray.c can be compiled while
internal/xyarray.h is still being installed and thus not found,
that causes this build error:

    xyarray.c:7:17: error: no previous prototype for 'xyarray__new' [-Werror=missing-prototypes
    xyarray.c:10:43: error: invalid application of 'sizeof' to incomplete type 'struct xyarray'

Fix it by forcing the proper order.

Signed-off-by: Michael Petlan <mpetlan@redhat.com>

Approved-by: ashelat <ashelat@redhat.com>
Approved-by: tallison1 <tallison@redhat.com>
Approved-by: CKI KWF Bot <cki-ci-bot+kwf-gitlab-com@redhat.com>

Merged-by: CKI GitLab Kmaint Pipeline Bot <26919896-cki-kmaint-pipeline-bot@users.noreply.gitlab.com>
2026-07-15 15:02:39 +00:00
..
2024-09-11 13:08:36 -03:00