about summary refs log tree commit diff
path: root/bits/statfs.h
diff options
context:
space:
mode:
Diffstat (limited to 'bits/statfs.h')
-rw-r--r--bits/statfs.h12
1 files changed, 3 insertions, 9 deletions
diff --git a/bits/statfs.h b/bits/statfs.h
index 9fa3388801..a92cf52315 100644
--- a/bits/statfs.h
+++ b/bits/statfs.h
@@ -17,12 +17,9 @@
    write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
    Boston, MA 02111-1307, USA.  */
 
-/*
- * Never include this file directly; use <sys/statfs.h> instead.
- */
-
-#ifndef	_BITS_STATFS_H
-#define	_BITS_STATFS_H	1
+#ifndef _SYS_STATFS_H
+# error "Never include <bits/statfs.h> directly; use <sys/statfs.h> instead."
+#endif
 
 #include <bits/types.h>
 
@@ -47,6 +44,3 @@ struct statfs
     unsigned int f_namelen;
     unsigned int f_spare[6];
   };
-
-
-#endif /* bits/statfs.h */