7c6bb27b82
Submitted by Xavier Santolaria <xavier@santolaria.net>. GeoIP is a C library that enables the user to find the country that any IP address or hostname originates from.
12 lines
457 B
Plaintext
12 lines
457 B
Plaintext
$OpenBSD: patch-libGeoIP_GeoIPUpdate_c,v 1.1.1.1 2003/06/27 14:55:35 naddy Exp $
|
|
--- libGeoIP/GeoIPUpdate.c.orig Sun Mar 23 19:28:59 2003
|
|
+++ libGeoIP/GeoIPUpdate.c Thu Jun 26 00:24:19 2003
|
|
@@ -31,6 +31,7 @@
|
|
#include "time.h"
|
|
#include <netdb.h>
|
|
#include <stdio.h>
|
|
+#include <unistd.h>
|
|
|
|
const char *GeoIPUpdateHost = "updates.maxmind.com";
|
|
const char *GeoIPHTTPRequest = "GET /app/update?license_key=%s&md5=%s HTTP/1.0\nHost: updates.maxmind.com\n\n";
|