Module Name:    src
Committed By:   tsutsui
Date:           Fri May 24 09:59:42 UTC 2024

Modified Files:
        src/usr.sbin/installboot: cd9660.c

Log Message:
Fix tools build errors on Cygwin.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/usr.sbin/installboot/cd9660.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/usr.sbin/installboot/cd9660.c
diff -u src/usr.sbin/installboot/cd9660.c:1.1 src/usr.sbin/installboot/cd9660.c:1.2
--- src/usr.sbin/installboot/cd9660.c:1.1	Sun May 19 15:48:57 2024
+++ src/usr.sbin/installboot/cd9660.c	Fri May 24 09:59:42 2024
@@ -1,4 +1,4 @@
-/*	$NetBSD: cd9660.c,v 1.1 2024/05/19 15:48:57 tsutsui Exp $	*/
+/*	$NetBSD: cd9660.c,v 1.2 2024/05/24 09:59:42 tsutsui Exp $	*/
 
 /*-
  * Copyright (c) 2005 Izumi Tsutsui.  All rights reserved.
@@ -30,7 +30,7 @@
 
 #include <sys/cdefs.h>
 #if defined(__RCSID) && !defined(__lint)
-__RCSID("$NetBSD: cd9660.c,v 1.1 2024/05/19 15:48:57 tsutsui Exp $");
+__RCSID("$NetBSD: cd9660.c,v 1.2 2024/05/24 09:59:42 tsutsui Exp $");
 #endif	/* !__lint */
 
 #include <sys/param.h>
@@ -38,6 +38,9 @@ __RCSID("$NetBSD: cd9660.c,v 1.1 2024/05
 #if !HAVE_NBTOOL_CONFIG_H
 #include <sys/mount.h>
 #endif
+#if !HAVE_NBTOOL_CONFIG_H || HAVE_SYS_ENDIAN_H
+#include <sys/endian.h>
+#endif
 
 #include <assert.h>
 #include <err.h>

Reply via email to