Building installboot(8) with multiple <dev/biovar.h> includes fails
without this.

OK?


Index: dev/biovar.h
===================================================================
RCS file: /cvs/src/sys/dev/biovar.h,v
retrieving revision 1.45
diff -u -p -r1.45 biovar.h
--- dev/biovar.h        14 Aug 2016 04:08:03 -0000      1.45
+++ dev/biovar.h        7 Jun 2020 11:55:15 -0000
@@ -26,6 +26,9 @@
  * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+#ifndef BIOVAR_H
+#define BIOVAR_H
+
 /*
  * Devices getting ioctls through this interface should use ioctl class 'B'
  * and command numbers starting from 32, lower ones are reserved for generic
@@ -305,3 +308,5 @@ void        bio_info(struct bio_status *, int, 
 void   bio_warn(struct bio_status *, int, const char *, ...);
 void   bio_error(struct bio_status *, int, const char *, ...);
 #endif
+
+#endif /* BIOVAR_H */

Reply via email to