summaryrefslogtreecommitdiff
path: root/devel/libvolume_id/patches/patch-ad
blob: e69a1d63af4c77a8d26209ae01525c2a55640414 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-ad,v 1.1.1.1 2008/11/22 13:48:23 jmcneill Exp $

--- util.h.orig	2008-11-22 08:32:52.000000000 -0500
+++ util.h
@@ -19,7 +19,7 @@
 #  include <config.h>
 #endif
 
-#ifdef __FreeBSD__
+#if defined(__FreeBSD__) || defined(__NetBSD__)
 #include <sys/endian.h>
 
 #define __BYTE_ORDER            _BYTE_ORDER