mirror of
https://github.com/linuxkit/linuxkit.git
synced 2026-04-11 06:09:47 +00:00
- remove patch now https://github.com/iovisor/bcc/pull/887 is merged - move the patches to the base image as it makes more sense like this Signed-off-by: Justin Cormack <justin.cormack@docker.com>
24 lines
292 B
Diff
24 lines
292 B
Diff
--- libelf/elf.h-orig
|
|
+++ libelf/elf.h
|
|
@@ -21,7 +21,9 @@
|
|
|
|
#include <features.h>
|
|
|
|
-__BEGIN_DECLS
|
|
+#ifdef __cplusplus
|
|
+extern "C" {
|
|
+#endif
|
|
|
|
/* Standard ELF types. */
|
|
|
|
@@ -3553,6 +3555,8 @@
|
|
#define R_TILEGX_NUM 130
|
|
|
|
|
|
-__END_DECLS
|
|
+#ifdef __cplusplus
|
|
+}
|
|
+#endif
|
|
|
|
#endif /* elf.h */
|