about summary refs log tree commit diff
path: root/sysdeps/generic/bits/confname.h
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/generic/bits/confname.h')
-rw-r--r--sysdeps/generic/bits/confname.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/sysdeps/generic/bits/confname.h b/sysdeps/generic/bits/confname.h
index 40228e11ed..4653887468 100644
--- a/sysdeps/generic/bits/confname.h
+++ b/sysdeps/generic/bits/confname.h
@@ -17,6 +17,10 @@
    write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
    Boston, MA 02111-1307, USA.  */
 
+#ifndef _UNISTD_H
+# error "Never use <bits/confname.h> directly; include <unistd.h> instead."
+#endif
+
 /* Values for the NAME argument to `pathconf' and `fpathconf'.  */
 enum
   {