1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-26 05:02:18 +00:00
freebsd-ports/net/netmap/files/patch-netmap::netmap.c
Edwin Groothuis 42f82ca6c0 Make net/netmap building on -current again
PR:		 ports/46267
Submitted by:	Kuang-che Wu <kcwu@kcwu.dyndns.org>
2002-12-20 21:07:52 +00:00

21 lines
569 B
C

--- netmap/netmap.c.orig Sun Dec 15 14:54:26 2002
+++ netmap/netmap.c Sun Dec 15 14:54:26 2002
@@ -32,7 +32,7 @@
int count_invalid_hosts(const string& fname)
{
- Infile inf(fname, ios::bin | ios::in);
+ Infile inf(fname, ios::binary | ios::in);
int invalid_hosts = 0;
int invalid_left = 0;
@@ -60,7 +60,7 @@
const int num_invalid_hosts =
(keep_reading?count_invalid_hosts(fname):0);
- Infile inf(fname, ios::bin | ios::in);
+ Infile inf(fname, ios::binary | ios::in);
int mark_first = 1;
string prev_addr = inv_ip;