summaryrefslogtreecommitdiff
path: root/net-p2p/edonkey-tool-hash/files/patch-processfile.c
blob: b1553b8edf3930f514c2172b29d41787699ab21d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
--- ed2k_hash/processfile.c.orig	Wed Jun 25 00:51:21 2003
+++ ed2k_hash/processfile.c	Mon Aug  9 20:39:37 2004
@@ -123,6 +123,9 @@
 		return 0;
 	}
 
+#ifndef _SC_PAGE_SIZE
+#define	_SC_PAGE_SIZE	_SC_PAGESIZE
+#endif
 	pagesize = sysconf(_SC_PAGE_SIZE);
 
 	for (b=0; b < fi.blocks; b++)