You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/net-libs/ccrtp/files/ccrtp-1.7.0-cstddef.patch

17 lines
400 B

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

Fix building with gcc-4.6
./ccrtp/sources.h:409:11: error: ptrdiff_t does not name a type
https://bugs.gentoo.org/show_bug.cgi?id=421539
Patch written by Kacper Kowalik <xarthisius@gentoo.org>
--- a/src/ccrtp/sources.h
+++ b/src/ccrtp/sources.h
@@ -44,6 +44,7 @@
#ifndef CCXX_RTP_SOURCES_H_
#define CCXX_RTP_SOURCES_H_
+#include <cstddef>
#include <string>
#include <ccrtp/rtcppkt.h>