Skip to content

Commit

Permalink
include sys/sysmacros.h for major/minor/makedev
Browse files Browse the repository at this point in the history
These funcs are defined in the sys/sysmacros.h header, not sys/types.h.
Linux C libraries are updating to drop the implicit include, so we need
to include it explicitly.
  • Loading branch information
vapier committed Apr 21, 2016
1 parent c55e058 commit add58c3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions collector/collector.c
Expand Up @@ -33,6 +33,7 @@
#include "common.h"

#include <sys/mount.h>
#include <sys/sysmacros.h>
#include <linux/fs.h>
#include <linux/genetlink.h>
#include <linux/taskstats.h>
Expand Down

0 comments on commit add58c3

Please sign in to comment.