summaryrefslogtreecommitdiff
path: root/deskutils/cairo-dock/files/patch-cairo-dock-file-manager.c
blob: 6a764949e1e8abd818f855a9ad32594ba3267829 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--- src/gldit/cairo-dock-file-manager.c.orig	2014-11-22 18:39:10.000000000 +0200
+++ src/gldit/cairo-dock-file-manager.c	2014-11-22 18:41:30.000000000 +0200
@@ -21,7 +21,11 @@
 #include <string.h>      // memset
 #include <sys/stat.h>    // stat
 #include <fcntl.h>  // open
+#ifndef __FreeBSD__
 #include <sys/sendfile.h>  // sendfile
+#else
+#include <sys/socket.h>
+#endif
 #include <errno.h>  // errno
 
 #include "gldi-config.h"