20 lines
548 B
Plaintext
20 lines
548 B
Plaintext
$OpenBSD: patch-thumbnailer_main_c,v 1.2 2011/12/18 13:54:29 ajacoutot Exp $
|
|
|
|
From 4bcf72e6b54a799304e5d42b80f3b89659394d51 Mon Sep 17 00:00:00 2001
|
|
From: Antoine Jacoutot <ajacoutot@openbsd.org>
|
|
Date: Fri, 16 Dec 2011 08:02:17 +0000
|
|
Subject: RLIMIT_AS may not be defined.
|
|
|
|
--- thumbnailer/main.c.orig Fri Dec 16 08:42:36 2011
|
|
+++ thumbnailer/main.c Fri Dec 16 08:50:00 2011
|
|
@@ -40,6 +40,9 @@
|
|
|
|
#ifdef HAVE_SETRLIMIT
|
|
#include <sys/resource.h>
|
|
+#if !defined(RLIMIT_AS)
|
|
+#define RLIMIT_AS RLIMIT_DATA
|
|
+#endif
|
|
#endif
|
|
|
|
G_GNUC_NORETURN static void
|