Package: crtmpserver / 1.0~dfsg-5

21_fix_ftbfs_kfreebsd.diff Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Author: Reinhard Tartler <siretart@tauware.de>
Description: Update the kfreebsd platform specific header to unbreak compilation
Forwarded-Upstream: not-yet
Bug-Debian: http://bugs.debian.org/713840

It seems that the "dfreebsd" platform requires some updates to allow compilation on
(modern?) kfreebsd systems.

--- a/common/include/platform/dfreebsd/dfreebsdplatform.h
+++ b/common/include/platform/dfreebsd/dfreebsdplatform.h
@@ -50,6 +50,7 @@
 #include <sstream>
 #include <stdint.h>
 #include <stdio.h>
+#include <unistd.h>
 #include <string>
 #include <sys/event.h>
 #include <sys/mman.h>