Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/backend
diff options
context:
space:
mode:
authorCarlos Garcia Campos <carlosgc@gnome.org>2007-05-14 10:50:58 (GMT)
committer Carlos Garcia Campos <carlosgc@src.gnome.org>2007-05-14 10:50:58 (GMT)
commit299f62a707f68651d76476e87dd030ef3b3174ea (patch)
tree239d2fa7972ff59f2f0f15b3cb6434721cf2cdd8 /backend
parent944e94385b7950380cd2c54fef2492b07a148004 (diff)
Add missing ulong definition. Add missing headers. Fix compilation on
2007-05-14 Carlos Garcia Campos <carlosgc@gnome.org> * backend/impress/zip.c: Add missing ulong definition. * backend/ps/ps-interpreter.c: Add missing headers. Fix compilation on FreeBSD. Patch by Roy Marples. Fixes bug #438277. svn path=/trunk/; revision=2454
Diffstat (limited to 'backend')
-rw-r--r--backend/impress/zip.c2
-rw-r--r--backend/ps/ps-interpreter.c2
2 files changed, 4 insertions, 0 deletions
diff --git a/backend/impress/zip.c b/backend/impress/zip.c
index 4b179b5..7143aa1 100644
--- a/backend/impress/zip.c
+++ b/backend/impress/zip.c
@@ -9,6 +9,8 @@
#include <zlib.h>
#define _(x) x
+typedef unsigned long ulong;
+
enum {
ZIP_OK = 0,
ZIP_NOMEM,
diff --git a/backend/ps/ps-interpreter.c b/backend/ps/ps-interpreter.c
index 55f55d4..b17af85 100644
--- a/backend/ps/ps-interpreter.c
+++ b/backend/ps/ps-interpreter.c
@@ -28,6 +28,8 @@
#include <gdk/gdkx.h>
#include <string.h>
#include <stdlib.h>
+#include <sys/types.h>
+#include <signal.h>
#include <sys/wait.h>
#include <errno.h>