diff options
author | khorben <khorben@pkgsrc.org> | 2018-02-11 17:34:54 +0000 |
---|---|---|
committer | khorben <khorben@pkgsrc.org> | 2018-02-11 17:34:54 +0000 |
commit | 2dca093361362bf31e7c4acbf2400ca6b03638d0 (patch) | |
tree | 5a4f926882feb1431b17c919f4e77eb103798f70 | |
parent | e86f9da590c478ed3e8167daffecf3af5fbd6978 (diff) | |
download | pkgsrc-2dca093361362bf31e7c4acbf2400ca6b03638d0.tar.gz |
Avoid warnings about implicit declaration of function 'ffs'
Besides addressing these warnings, this patch should not modify the resulting
binary in any way. There should be no need to re-compile or bump any version or
revision.
Compile-tested on NetBSD/amd64. "Should be ok" joerg@
-rw-r--r-- | devel/bmake/files/make.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/devel/bmake/files/make.h b/devel/bmake/files/make.h index 64b72da2931..35698ea05a4 100644 --- a/devel/bmake/files/make.h +++ b/devel/bmake/files/make.h @@ -1,4 +1,4 @@ -/* $NetBSD: make.h,v 1.8 2015/05/19 22:01:19 joerg Exp $ */ +/* $NetBSD: make.h,v 1.9 2018/02/11 17:34:54 khorben Exp $ */ /* * Copyright (c) 1988, 1989, 1990, 1993 @@ -92,7 +92,8 @@ #include <stdlib.h> #ifdef HAVE_STRING_H #include <string.h> -#else +#endif +#ifdef HAVE_STRINGS_H #include <strings.h> #endif #include <unistd.h> |