The following patch adds a guard macro to fpmath.h.
It is used to prevent multiple inclusions of its
content.  Please apply to top-of-tree.


Index: libc/include/fpmath.h
===================================================================
--- libc/include/fpmath.h       (revision 2044)
+++ libc/include/fpmath.h       (working copy)
@@ -27,6 +27,9 @@
  * $FreeBSD: head/lib/libc/include/fpmath.h 186461 2008-12-23 22:20:59Z marcel 
$
  */
 
+#ifndef _FPMATH_H_
+#define _FPMATH_H_
+
 #include <sys/endian.h>
 #include "_fpmath.h"
 
@@ -73,3 +76,5 @@ union IEEEd2bits {
 #endif
        } bits;
 };
+
+#endif /* !_FPMATH_H */

-- 
Steve
_______________________________________________
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"

Reply via email to