summaryrefslogtreecommitdiff
path: root/include/struct.h
diff options
context:
space:
mode:
authorPoul-Henning Kamp <phk@FreeBSD.org>2000-10-27 11:45:49 +0000
committerPoul-Henning Kamp <phk@FreeBSD.org>2000-10-27 11:45:49 +0000
commit46aa3347cb72a78253d66cee79e17413af61804c (patch)
tree5a6a7cebc3f9800c1819d1438e9a53e273da5747 /include/struct.h
parent303fd73aa775b9289ced7cc21fa3ad62d283450e (diff)
Notes
Diffstat (limited to 'include/struct.h')
-rw-r--r--include/struct.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/struct.h b/include/struct.h
index f80ecd077132..c32ec28e64e0 100644
--- a/include/struct.h
+++ b/include/struct.h
@@ -31,11 +31,17 @@
* SUCH DAMAGE.
*
* @(#)struct.h 8.1 (Berkeley) 6/2/93
+ *
+ * $FreeBSD$
*/
#ifndef _STRUCT_H_
#define _STRUCT_H_
+#if __GNUC__
+#warning "this file includes <struct.h> which is deprecated, use <stddef.h> instead"
+#endif
+
/* Offset of the field in the structure. */
#define fldoff(name, field) \
((int)&(((struct name *)0)->field))