diff options
author | Bruce Momjian | 2004-09-27 19:16:03 +0000 |
---|---|---|
committer | Bruce Momjian | 2004-09-27 19:16:03 +0000 |
commit | 32b24bfa975f962e5bc61886ccc78cf656b6295c (patch) | |
tree | a2b415c410dae85c4c3cb4c6f7ed262a98933a55 /src/bin | |
parent | 7ceec70fc79a3c9bbda802b1464f05b791f28f2c (diff) |
Remove inclusion of windows.h now that it is included in c.h, per idea
from Peter.
Diffstat (limited to 'src/bin')
-rw-r--r-- | src/bin/pgevent/pgevent.c | 8 | ||||
-rw-r--r-- | src/bin/psql/input.c | 6 | ||||
-rw-r--r-- | src/bin/psql/mbprint.c | 6 | ||||
-rw-r--r-- | src/bin/psql/startup.c | 3 |
4 files changed, 7 insertions, 16 deletions
diff --git a/src/bin/pgevent/pgevent.c b/src/bin/pgevent/pgevent.c index 38bfd5177b7..d91840f99ff 100644 --- a/src/bin/pgevent/pgevent.c +++ b/src/bin/pgevent/pgevent.c @@ -6,15 +6,15 @@ * * * IDENTIFICATION - * $PostgreSQL: pgsql/src/bin/pgevent/pgevent.c,v 1.3 2004/08/30 02:54:40 momjian Exp $ + * $PostgreSQL: pgsql/src/bin/pgevent/pgevent.c,v 1.4 2004/09/27 19:16:01 momjian Exp $ * *------------------------------------------------------------------------- */ -#include "windows.h" -#include "olectl.h" -#include "string.h" +#include <windows.h> +#include <olectl.h> +#include <string.h> /* Global variables */ HANDLE g_module = NULL; /* hModule of DLL */ diff --git a/src/bin/psql/input.c b/src/bin/psql/input.c index 072df4abcee..7cc59c14218 100644 --- a/src/bin/psql/input.c +++ b/src/bin/psql/input.c @@ -3,17 +3,13 @@ * * Copyright (c) 2000-2004, PostgreSQL Global Development Group * - * $PostgreSQL: pgsql/src/bin/psql/input.c,v 1.37 2004/08/29 05:06:54 momjian Exp $ + * $PostgreSQL: pgsql/src/bin/psql/input.c,v 1.38 2004/09/27 19:16:02 momjian Exp $ */ #include "postgres_fe.h" #include "input.h" #include <errno.h> -#ifdef WIN32 -#include <windows.h> -#endif - #include "pqexpbuffer.h" #include "settings.h" #include "tab-complete.h" diff --git a/src/bin/psql/mbprint.c b/src/bin/psql/mbprint.c index 588aa242f26..78cbdcdf6df 100644 --- a/src/bin/psql/mbprint.c +++ b/src/bin/psql/mbprint.c @@ -3,7 +3,7 @@ * * Copyright (c) 2000-2004, PostgreSQL Global Development Group * - * $PostgreSQL: pgsql/src/bin/psql/mbprint.c,v 1.14 2004/08/29 04:13:02 momjian Exp $ + * $PostgreSQL: pgsql/src/bin/psql/mbprint.c,v 1.15 2004/09/27 19:16:02 momjian Exp $ */ #include "postgres_fe.h" @@ -14,10 +14,6 @@ #include "mb/pg_wchar.h" -#ifdef WIN32 -#include <windows.h> -#endif - /* * This is an implementation of wcwidth() and wcswidth() as defined in * "The Single UNIX Specification, Version 2, The Open Group, 1997" diff --git a/src/bin/psql/startup.c b/src/bin/psql/startup.c index 06b0c06da90..e0aea1d3eb4 100644 --- a/src/bin/psql/startup.c +++ b/src/bin/psql/startup.c @@ -3,7 +3,7 @@ * * Copyright (c) 2000-2004, PostgreSQL Global Development Group * - * $PostgreSQL: pgsql/src/bin/psql/startup.c,v 1.100 2004/09/13 23:07:12 neilc Exp $ + * $PostgreSQL: pgsql/src/bin/psql/startup.c,v 1.101 2004/09/27 19:16:02 momjian Exp $ */ #include "postgres_fe.h" @@ -13,7 +13,6 @@ #include <unistd.h> #else /* WIN32 */ #include <io.h> -#include <windows.h> #include <win32.h> #endif /* WIN32 */ |