65677fa82f
is a free and open source cross-platform media-player and entertainment hub. WWW: http://xbmc.org/ PR: ports/153528 Submitted by: Mickael Maillot <mickael dot maillot at gmail dot com> Thanks to: multimedia@, avg
28 lines
623 B
C
28 lines
623 B
C
--- /dev/null 2010-12-16 17:00:01.000000000 +0100
|
|
+++ xbmc/linux/FreeBSDGNUReplacements.h 2010-12-16 16:54:02.098300652 +0100
|
|
@@ -0,0 +1,25 @@
|
|
+#ifndef __FREEBSDGNUREPLACEMENTS_H__
|
|
+#define __FREEBSDGNUREPLACEMENTS_H__
|
|
+
|
|
+#include <sys/param.h>
|
|
+#include <string.h>
|
|
+#include <stdio.h>
|
|
+
|
|
+#ifdef __cplusplus
|
|
+extern "C" {
|
|
+#endif /* __cplusplus */
|
|
+
|
|
+#if __FreeBSD_version < 800067
|
|
+
|
|
+size_t strnlen(const char *s, size_t n);
|
|
+ssize_t getdelim(char **lineptr, size_t *n, int delimiter, FILE *stream);
|
|
+
|
|
+#endif
|
|
+
|
|
+int strverscmp(const char *s1, const char *s2);
|
|
+
|
|
+#ifdef __cplusplus
|
|
+}
|
|
+#endif /* __cplusplus */
|
|
+
|
|
+#endif
|