summaryrefslogtreecommitdiff
path: root/sysutils/gpart/patches/patch-ac
blob: fd407cbac8e401f56516f2166fd6b39611971838 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
$NetBSD: patch-ac,v 1.1.1.1 2000/09/01 16:10:28 veego Exp $

--- src/l64seek.c	Sun May 14 14:04:23 2000
+++ src/l64seek.c	Sun Jul 16 10:58:50 2000
@@ -46,7 +46,8 @@
 		ret = (off64_t)-1;
 #endif
 
-#if defined(__FreeBSD__) || (defined(__linux__) && defined(__alpha__))
+#if defined(__FreeBSD__) || defined(__NetBSD__) || \
+    (defined(__linux__) && defined(__alpha__))
 	ret = lseek(fd,offset,whence);
 #endif