These functions have always been defined in sys/sysmacros.h under
Linux C libraries. For some, including sys/types.h implicitly
includes that as well, but glibc wants to deprecate that, and some
others already have. Include the header explicitly for the funcs.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
#include <errno.h>
#include <features.h>
#include <inttypes.h>
+#include <sys/sysmacros.h>
#include "version.h"
#ifndef PROGRAM_NAME