diff options
| author | tv <tv@NetBSD.org> | 1998-04-27 17:02:04 +0000 |
|---|---|---|
| committer | tv <tv@NetBSD.org> | 1998-04-27 17:02:04 +0000 |
| commit | ced11d04ee9474db4b81bbbb3169de9808756c39 (patch) | |
| tree | 03769e8ac84667d105e11a0b059b3fd8ee222fb5 /include/string.h | |
| parent | b817f6c32a649060eb346e1899578c40d3218723 (diff) | |
Move the #include <strings.h> line inside a !defined(_XOPEN_SOURCE) block
(not just !POSIX and !ANSI)
Diffstat (limited to 'include/string.h')
| -rw-r--r-- | include/string.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/string.h b/include/string.h index e869e92341a..911d5637e13 100644 --- a/include/string.h +++ b/include/string.h @@ -1,4 +1,4 @@ -/* $NetBSD: string.h,v 1.13 1998/02/03 04:45:41 perry Exp $ */ +/* $NetBSD: string.h,v 1.14 1998/04/27 17:02:04 tv Exp $ */ /*- * Copyright (c) 1990, 1993 @@ -80,13 +80,13 @@ char *strtok_r __P((char *, const char *, char **)); size_t strxfrm __P((char *, const char *, size_t)); #if !defined(_ANSI_SOURCE) && !defined(_POSIX_C_SOURCE) -#include <strings.h> /* for backwards-compatibilty */ void *memccpy __P((void *, const void *, int, size_t)); char *strdup __P((const char *)); #endif /* !defined(_ANSI_SOURCE) && !defined(_POSIX_C_SOURCE) */ #if !defined(_ANSI_SOURCE) && !defined(_POSIX_C_SOURCE) && \ !defined(_XOPEN_SOURCE) +#include <strings.h> /* for backwards-compatibilty */ char *strsep __P((char **, const char *)); #endif /* !defined(_ANSI_SOURCE) && !defined(_POSIX_SOURCE) && ... */ __END_DECLS |
