Files
packages/libs/libudev-fbsd/patches/005-extern-c.patch
Daniel Golle 29e7e06191 libudev-fbsd: update to git source as of 2017-12-16
Remove patches 001-fix-unused.patch and 002-replace-nitems.patch,
similar fixes to make libudev-fbsd compile were applied upstream.
Refresh remaining patches.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
(cherry-picked from 58f1de60f8)
2019-08-13 14:56:53 -07:00

26 lines
357 B
Diff

--- a/src/libudev.h
+++ b/src/libudev.h
@@ -7,6 +7,11 @@
extern "C" {
#endif
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
struct udev;
struct udev_device;
struct udev_list_entry;
@@ -76,6 +81,10 @@ void udev_monitor_unref(struct udev_moni
#ifdef __cplusplus
} /* extern "C" */
+#endif
+
+#ifdef __cplusplus
+} /* extern "C" */
#endif
#endif