Build fixes for NetBSD from pkgsrc (#9886)

This commit is contained in:
Robin Gareus
2025-02-01 11:19:16 +01:00
parent 71204251ac
commit 728e0c0144
5 changed files with 15 additions and 9 deletions

View File

@@ -27,7 +27,7 @@
#define HAVE_GETRESUID 1
#endif
#ifndef __APPLE__
#if !defined(__APPLE__) && !defined(__NetBSD__)
/* Have GNU ftw */
#define HAVE_GNU_FTW 1
#endif

View File

@@ -24,11 +24,11 @@
#endif
/* Define to 1 if you have the `getresuid' function. */
#if !(defined PLATFORM_WINDOWS || defined __APPLE__)
#if !(defined PLATFORM_WINDOWS || defined __APPLE__ || defined(__NetBSD__))
#define HAVE_GETRESUID 1
#endif
#ifndef __APPLE__
#if !defined(__APPLE__) && !defined(__NetBSD__)
/* Have GNU ftw */
#define HAVE_GNU_FTW 1
#endif