Missing include in mbind(2) and set_mempolicy(2) manpages?

Vlastimil Babka <[email protected]> Wed, 18 Jan 2017 13:05:17 +0100
Newsgroups org.kernel.vger.linux-numa,org.kernel.vger.linux-man
Message-ID <[email protected]>
Hi,

the two manpages state that you have to #include <numaif.h>
But apparently this is not enough when one wants to use the MPOL_F_STATIC_NODES 
or MPOL_F_RELATIVE_NODES flag. With grep I found that these are defined in 
linux/mempolicy.h.

This is on openSUSE Tumbleweed, numaif.h comes from 
libnuma-devel-2.0.10-5.7.x86_64 (I checked upstream 2.0.11 tarball, no 
difference here).
linux/mempolicy.h is from linux-glibc-devel-4.8-1.1.noarch

Thanks,
Vlastimil
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html