Add definitions for strmode. This was missing from the
patch in PR 31232.
This commit is contained in:
parent
4b81c4e0d8
commit
26bf5ec9ea
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: compat_defs.h,v 1.54 2006/09/29 20:00:15 apb Exp $ */
|
||||
/* $NetBSD: compat_defs.h,v 1.55 2006/10/07 22:00:22 apb Exp $ */
|
||||
|
||||
#ifndef __NETBSD_COMPAT_DEFS_H__
|
||||
#define __NETBSD_COMPAT_DEFS_H__
|
||||
|
@ -368,6 +368,10 @@ size_t strlcat(char *, const char *, size_t);
|
|||
size_t strlcpy(char *, const char *, size_t);
|
||||
#endif
|
||||
|
||||
#if !HAVE_STRMODE
|
||||
void strmode(mode_t, char *);
|
||||
#endif
|
||||
|
||||
#if !HAVE_STRSEP || defined(__NetBSD__)
|
||||
char *strsep(char **, const char *);
|
||||
#endif
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/* nbtool_config.h.in. Generated from configure.ac by autoheader. */
|
||||
|
||||
/* $NetBSD: nbtool_config.h.in,v 1.13 2006/08/20 18:52:05 thorpej Exp $ */
|
||||
/* $NetBSD: nbtool_config.h.in,v 1.14 2006/10/07 22:00:22 apb Exp $ */
|
||||
|
||||
#ifndef __NETBSD_NBTOOL_CONFIG_H__
|
||||
#define __NETBSD_NBTOOL_CONFIG_H__
|
||||
|
@ -331,6 +331,9 @@
|
|||
/* Define to 1 if you have the `strlcpy' function. */
|
||||
#undef HAVE_STRLCPY
|
||||
|
||||
/* Define to 1 if you have the `strmode' function. */
|
||||
#undef HAVE_STRMODE
|
||||
|
||||
/* Define to 1 if you have the `strsep' function. */
|
||||
#undef HAVE_STRSEP
|
||||
|
||||
|
|
Loading…
Reference in New Issue