summaryrefslogtreecommitdiff
path: root/graphics/gimp24/patches/patch-ad
blob: ae48ee649dcd9f0ef7b6453399b8d5ed8467a629 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
$NetBSD: patch-ad,v 1.4 2006/06/30 02:48:59 joerg Exp $

--- app/main.c.orig	2006-06-02 12:04:33.000000000 +0000
+++ app/main.c
@@ -18,8 +18,12 @@
 
 #include "config.h"
 
+#if !defined(__DragonFly__)
 #define _POSIX_SOURCE  /* all the sigaction stuff is POSIX */
 #define _SVID_SOURCE   /* except for SA_RESTART, it seems  */
+#define _XOPEN_SOURCE
+#define _XOPEN_SOURCE_EXTENDED
+#endif
 
 #include <stdio.h>
 #include <stdlib.h>