aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authordrh <drh@noemail.net>2005-11-29 19:50:24 +0000
committerdrh <drh@noemail.net>2005-11-29 19:50:24 +0000
commita2eebaa43b3e7f555f5fb84490814e591b81a001 (patch)
treeffc25db9da54c0e28075ffcf9c5888847d2ee57f /src
parent1a23593dc087926bad0456a8d438078f20acd790 (diff)
downloadsqlite-a2eebaa43b3e7f555f5fb84490814e591b81a001.tar.gz
sqlite-a2eebaa43b3e7f555f5fb84490814e591b81a001.zip
Make the build work on windows again. Ticket #1544. (CVS 2793)
FossilOrigin-Name: 59bdca2552b2e5c09d5ca2b7a02ee34460139d7b
Diffstat (limited to 'src')
-rw-r--r--src/os.h1
-rw-r--r--src/os_win.c1
2 files changed, 1 insertions, 1 deletions
diff --git a/src/os.h b/src/os.h
index 412273b5f..5996cecc2 100644
--- a/src/os.h
+++ b/src/os.h
@@ -51,6 +51,7 @@ typedef struct OsFile OsFile;
** Define the maximum size of a temporary filename
*/
#if OS_WIN
+# include <windows.h>
# define SQLITE_TEMPNAME_SIZE (MAX_PATH+50)
#else
# define SQLITE_TEMPNAME_SIZE 200
diff --git a/src/os_win.c b/src/os_win.c
index e1833b766..b07115ff1 100644
--- a/src/os_win.c
+++ b/src/os_win.c
@@ -16,7 +16,6 @@
#include "os.h"
#if OS_WIN /* This file is used for windows only */
-#include <windows.h>
#include <winbase.h>
#ifdef __CYGWIN__