diff options
Diffstat (limited to 'src/include/port/win32.h')
-rw-r--r-- | src/include/port/win32.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/src/include/port/win32.h b/src/include/port/win32.h index 69cccb2b7a..9a98c72dc1 100644 --- a/src/include/port/win32.h +++ b/src/include/port/win32.h @@ -1,10 +1,11 @@ -/* $PostgreSQL: pgsql/src/include/port/win32.h,v 1.16 2004/01/26 22:59:54 momjian Exp $ */ +/* $PostgreSQL: pgsql/src/include/port/win32.h,v 1.17 2004/02/08 22:28:57 neilc Exp $ */ /* undefine and redefine after #include */ #undef mkdir #undef ERROR #include <windows.h> +#include <winsock.h> #undef near /* Must be here to avoid conflicting with prototype in windows.h */ @@ -100,6 +101,13 @@ int semop(int semId, struct sembuf * sops, int flag); #define sleep(sec) (Sleep(sec * 1000), /* no return value */ 0) + +#ifndef FRONTEND +/* In libpq/pqsignal.c */ +#define kill(pid,sig) pqkill(pid,sig) +int pqkill(int pid, int sig); +#endif + /* Some extra signals */ #define SIGHUP 1 #define SIGQUIT 3 |