summaryrefslogtreecommitdiff
path: root/glib/gspawn-win32.c
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2000-10-19 17:52:12 +0000
committerTor Lillqvist <tml@src.gnome.org>2000-10-19 17:52:12 +0000
commit4905022b8ecaf794faa9ce4ad9977cb7725e0b49 (patch)
tree269956cf0299b0081dbd2d3497e39b2eb485aaff /glib/gspawn-win32.c
parent1bfc515a37d2e42157f869f8ac5339aff6ce10b3 (diff)
downloadglib-4905022b8ecaf794faa9ce4ad9977cb7725e0b49.tar.gz
Pass -DGSPAWN_HELPER when building it. Link with user32.lib.
2000-10-19 Tor Lillqvist <tml@iki.fi> * makefile.msc.in: Pass -DGSPAWN_HELPER when building it. Link with user32.lib. * gspawn-win32.c * gfileutils.c: Make them compile with picky MSVC. * gwin32.h: New file. Move Win32-only stuff that isn't related to GIOChannels here from giochannel.h. * Makefile.am: Add it here. * giochannel.h: Move stuff to gwin32.h. * glib.h: On Win32, include gwin32.h.
Diffstat (limited to 'glib/gspawn-win32.c')
-rw-r--r--glib/gspawn-win32.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/glib/gspawn-win32.c b/glib/gspawn-win32.c
index 11779daff..c1bb2222d 100644
--- a/glib/gspawn-win32.c
+++ b/glib/gspawn-win32.c
@@ -44,12 +44,14 @@
#include <string.h>
#include <stdlib.h>
+#include <stdio.h>
#include <windows.h>
#include <errno.h>
#include <fcntl.h>
#include <io.h>
#include <process.h>
+#include <direct.h>
#ifdef _
#warning "FIXME remove gettext hack"