Hi,

I run into double definition problems because of a missing include guard
in dev/biovar.h.  The diff below should fix that issue.

Bye,
Jan

Index: sys/dev/biovar.h
===================================================================
RCS file: /cvs/src/sys/dev/biovar.h,v
retrieving revision 1.45
diff -u -p -r1.45 biovar.h
--- sys/dev/biovar.h    14 Aug 2016 04:08:03 -0000      1.45
+++ sys/dev/biovar.h    19 Dec 2018 18:00:36 -0000
@@ -26,6 +26,9 @@
  * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+#ifndef _DEV_BIOVAR_H_
+#define _DEV_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,4 @@ 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 /* _DEV_BIOVAR_H_ */

Reply via email to