summaryrefslogtreecommitdiff
path: root/x11/deforaos-panel/patches/patch-src_applets_main.c
blob: 66ca59c2a1f370fe43b862f7cf711165b50319d1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
$NetBSD: patch-src_applets_main.c,v 1.3 2014/10/24 23:43:17 khorben Exp $

Need fcntl.h for open() on SunOS.

--- src/applets/main.c.orig	2014-10-23 17:34:42.000000000 +0000
+++ src/applets/main.c
@@ -16,6 +16,9 @@
 
 
 #include <sys/stat.h>
+#if defined(__sun)
+# include <fcntl.h>
+#endif
 #include <dirent.h>
 #include <unistd.h>
 #include <stdlib.h>