summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorIgor Pashev <pashev.igor@gmail.com>2012-01-27 00:10:57 +0300
committerIgor Pashev <pashev.igor@gmail.com>2012-01-27 00:10:57 +0300
commit22999868937be8407040637374728a5cdac94c0b (patch)
treef1bbd2c7ca9bf87d6de761e83bdccb0eef914c24 /include
parent537839fd7157f6e8e91c3f5099df7ba9c8b53fcf (diff)
downloadattr-22999868937be8407040637374728a5cdac94c0b.tar.gz
Test for features.h
Diffstat (limited to 'include')
-rw-r--r--include/xattr.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/xattr.h b/include/xattr.h
index 070d7c5..3256c77 100644
--- a/include/xattr.h
+++ b/include/xattr.h
@@ -20,7 +20,9 @@
#ifndef __XATTR_H__
#define __XATTR_H__
+#if HAVE_FEATURES_H
#include <features.h>
+#endif
#include <errno.h>
#ifndef ENOATTR