git: 5c1461a2b0fd - main - libsysdecode: use local sysdecode.h

Kristof Provost <[email protected]>
Newsgroups gmane.os.freebsd.devel.cvs.src
Message-ID <6a670dfc.3f533.69d2d934__20094.5987877034$1785138729$gmane$org@gitrepo.freebsd.org>
The branch main has been updated by kp:

URL: https://cgit.FreeBSD.org/src/commit/?id=5c1461a2b0fdf845292681aa46b56c620da57e25

commit 5c1461a2b0fdf845292681aa46b56c620da57e25
Author:     Ishan Agrawal <[email protected]>
AuthorDate: 2026-07-24 13:27:59 +0000
Commit:     Kristof Provost <[email protected]>
CommitDate: 2026-07-27 07:24:49 +0000

    libsysdecode: use local sysdecode.h
    
    Replace <sysdecode.h> with "sysdecode.h" so local builds use the in-tree header
    in lib/libsysdecode instead of a stale installed copy in /usr/include, avoiding
    build failures after updating sysdecode.h.
    
    Signed-off-by:  Ishan Agrawal <[email protected]>
    Sponsored-by:   Google LLC (GSoC 2026)
    Reviewed by:    kp
    Pull-Request:   https://github.com/freebsd/freebsd-src/pull/2338
---
 lib/libsysdecode/flags.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/libsysdecode/flags.c b/lib/libsysdecode/flags.c
index 90bebde4dc2b..f94fb88ebf83 100644
--- a/lib/libsysdecode/flags.c
+++ b/lib/libsysdecode/flags.c
@@ -63,7 +63,6 @@
 #include <stdio.h>
 #include <stdlib.h>
 #include <strings.h>
-#include <sysdecode.h>
 #include <unistd.h>
 #include <sys/bitstring.h>
 #include <netgraph/bluetooth/include/ng_hci.h>
@@ -73,6 +72,7 @@
 #include <netlink/netlink.h>
 
 #include "support.h"
+#include "sysdecode.h"
 
 #define	X(a)	{ a, #a },
 #define	XEND	{ 0, NULL }
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.