Skip to content

Commit

Permalink
src/libudev/libudev.h, src/udev/udev.h: include <sys/sysmacros.h>
Browse files Browse the repository at this point in the history
<sys/sysmacros.h> is no longer implicitly pulled in via <sys/types.h>
in glibc 2.24 and above.

Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
  • Loading branch information
blueness committed Nov 21, 2016
1 parent 4f3b829 commit d3aab3b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/libudev/libudev.h
Expand Up @@ -21,6 +21,7 @@
#define _LIBUDEV_H_

#include <stdarg.h>
#include <sys/sysmacros.h>
#include <sys/types.h>
#include <sys/stat.h>

Expand Down
1 change: 1 addition & 0 deletions src/udev/udev.h
Expand Up @@ -18,6 +18,7 @@

#pragma once

#include <sys/sysmacros.h>
#include <sys/types.h>
#include <sys/param.h>
#include <signal.h>
Expand Down

0 comments on commit d3aab3b

Please sign in to comment.