1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-11 07:22:22 +00:00
freebsd-ports/net-mgmt/nagircbot/files/patch-br.h
Wesley Shields 606a979463 - Update to 0.0.33.
PR:		ports/157488
Submitted by:	Ryan Steinmetz <rpsfa@rit.edu>
Approved by:	maintainer timeout
2011-06-15 13:51:06 +00:00

27 lines
700 B
C

--- br.h.orig 2011-01-18 05:39:10.000000000 -0500
+++ br.h 2011-05-31 22:12:14.000000000 -0400
@@ -1,5 +1,7 @@
/* (C) 2006-2010 by folkert@vanheusden.com GPLv2 applies */
+#include <sys/types.h>
+
/* code taken from linux kernel */
#if __GNUC__ == 2 && __GNUC_MINOR__ < 96
#define __builtin_expect(x, expected_value) (x)
@@ -17,7 +19,7 @@
char *buffer;
long long int buffer_length, buffer_pointer;
char *mmap_addr, *cur_offset;
- off64_t size_of_file;
+ off_t size_of_file;
int number_of_bytes_in_buffer(void);
int read_into_buffer(void);
@@ -30,5 +32,5 @@
char * read_line(void);
- off64_t file_offset(void);
+ off_t file_offset(void);
};