diff options
author | rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b <rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864> | 2005-04-16 18:28:12 +0000 |
---|---|---|
committer | rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b <rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864> | 2005-04-16 18:28:12 +0000 |
commit | d8512f028c60f65f2fa3523cdab0e92966e24177 (patch) | |
tree | 948dfad0f6763346de8b3ffcff6dda6688f37d7e /src | |
parent | 81da370760dda9a230dfcb72d8255d9074d622f5 (diff) |
BUILD : 1.7.8 (686) BUGS : N/A NOTES : Applied small makefile patch for win32
git-svn-id: svn://svn.anope.org/anope/trunk@686 31f1291d-b8d6-0310-a050-a5561fc1590b
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@513 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src')
-rw-r--r-- | src/tools/db-merger.c | 7 | ||||
-rw-r--r-- | src/tools/epona2anope.c | 7 |
2 files changed, 12 insertions, 2 deletions
diff --git a/src/tools/db-merger.c b/src/tools/db-merger.c index fec9ec9d4..1c8a2d7bc 100644 --- a/src/tools/db-merger.c +++ b/src/tools/db-merger.c @@ -25,11 +25,16 @@ #include <stdlib.h> #include <string.h> #include <stdio.h> -#include <unistd.h> #include <fcntl.h> #include <ctype.h> #include <time.h> +#ifndef _WIN32 + #include <unistd.h> +#else + #include "sysconf.h" +#endif + /* CONFIGURATION BLOCK */ #define NICK_DB_1 "nick1.db" diff --git a/src/tools/epona2anope.c b/src/tools/epona2anope.c index 56f098368..5ac3cfe8f 100644 --- a/src/tools/epona2anope.c +++ b/src/tools/epona2anope.c @@ -25,11 +25,16 @@ #include <stdlib.h> #include <string.h> #include <stdio.h> -#include <unistd.h> #include <fcntl.h> #include <ctype.h> #include <time.h> +#ifndef _WIN32 + #include <unistd.h> +#else + #include "sysconf.h" +#endif + /* CONFIGURATION BLOCK */ #define CHAN_DB_EPONA "chan1.db" |