From 574211055c3adf7d0954f77d2d353a8c17f4bef7 Mon Sep 17 00:00:00 2001 From: Arvid Norberg Date: Mon, 12 May 2008 07:14:03 +0000 Subject: [PATCH] GeoIP fixes --- include/libtorrent/GeoIP.h | 4 ---- src/GeoIP.c | 2 +- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/include/libtorrent/GeoIP.h b/include/libtorrent/GeoIP.h index 60b2c9750..d493eccb9 100644 --- a/include/libtorrent/GeoIP.h +++ b/include/libtorrent/GeoIP.h @@ -173,10 +173,6 @@ GEOIP_API const char * GeoIP_region_name_by_code(const char *country_code, const /* Get timezone from country and region code */ GEOIP_API const char * GeoIP_time_zone_by_country_and_region(const char *country_code, const char *region_code); -#ifdef BSD -#define memcpy(dest, src, n) bcopy(src, dest, n) -#endif - #ifdef __cplusplus } #endif diff --git a/src/GeoIP.c b/src/GeoIP.c index 2df4b5562..6ca0e51d8 100644 --- a/src/GeoIP.c +++ b/src/GeoIP.c @@ -18,7 +18,7 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ -#include "GeoIP.h" +#include "libtorrent/GeoIP.h" #ifndef WIN32 #include