The branch main has been updated by kib:

URL: 
https://cgit.FreeBSD.org/src/commit/?id=6a75e3951506c12b42428a47710d07cadcdd723e

commit 6a75e3951506c12b42428a47710d07cadcdd723e
Author:     Konstantin Belousov <[email protected]>
AuthorDate: 2025-12-08 22:38:48 +0000
Commit:     Konstantin Belousov <[email protected]>
CommitDate: 2025-12-09 00:20:42 +0000

    ofed/libibverbs: remove strdupa() hack from config.h
    
    It is now provided by regular string.h.  While there, remove stale
    $FreeBSD$ svn tag, and add include guards.
    
    Sponsored by:   NVidia networking
    MFC after:      1 week
---
 contrib/ofed/libibverbs/config.h | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/contrib/ofed/libibverbs/config.h b/contrib/ofed/libibverbs/config.h
index 88722ee1cde1..ee0ff8fb020e 100644
--- a/contrib/ofed/libibverbs/config.h
+++ b/contrib/ofed/libibverbs/config.h
@@ -1,6 +1,5 @@
-/* $FreeBSD$ */
-
-#include "alloca.h"
+#ifndef _OFED_IBVERBS_CONFIG_H_
+#define        _OFED_IBVERBS_CONFIG_H_
 
 #define        memalign(align, size) ({                        \
        void *__ptr;                                    \
@@ -39,3 +38,4 @@
 #define        MADV_DOFORK MADV_NORMAL
 #define        SWITCH_FALLTHROUGH (void)0
 
+#endif /* _OFED_IBVERBS_CONFIG_H_ */

Reply via email to