NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: misc/54182: Cross-building on Linux fails in rb.c



The following reply was made to PR misc/54182; it has been noted by GNATS.

From: coypu%sdf.org@localhost
To: gnats-bugs%netbsd.org@localhost, thorpej%netbsd.org@localhost
Cc: 
Subject: Re: misc/54182: Cross-building on Linux fails in rb.c
Date: Thu, 9 May 2019 10:51:04 +0000

 I believe this is the magic trick for tool builds.
 (Untested, because I am lazy)
 
 Index: gen/rb.c
 ===================================================================
 RCS file: /cvsroot/src/common/lib/libc/gen/rb.c,v
 retrieving revision 1.14
 diff -u -r1.14 rb.c
 --- gen/rb.c	8 Mar 2019 09:14:54 -0000	1.14
 +++ gen/rb.c	9 May 2019 10:50:26 -0000
 @@ -29,6 +29,10 @@
   * POSSIBILITY OF SUCH DAMAGE.
   */
  
 +#if HAVE_NBTOOL_CONFIG_H
 +#include "nbtool_config.h"
 +#endif
 +
  #if !defined(_KERNEL) && !defined(_STANDALONE)
  #include <sys/types.h>
  #include <stddef.h>
 


Home | Main Index | Thread Index | Old Index