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.

24 lines
590 B

  1. diff -ruN libudev-fbsd-20160820/src/libudev.h libudev-fbsd-20160820.mod/src/libudev.h
  2. --- libudev-fbsd-20160820/src/libudev.h 2017-11-17 16:46:56.705435146 +0100
  3. +++ libudev-fbsd-20160820.mod/src/libudev.h 2017-11-17 16:48:07.276021522 +0100
  4. @@ -11,6 +11,11 @@
  5. #include <fcntl.h>
  6. #include <unistd.h>
  7. +
  8. +#ifdef __cplusplus
  9. +extern "C" {
  10. +#endif
  11. +
  12. struct udev;
  13. struct udev_device;
  14. struct udev_list_entry;
  15. @@ -83,4 +88,8 @@
  16. struct udev_monitor *udev_monitor);
  17. void udev_monitor_unref(struct udev_monitor *udev_monitor);
  18. +#ifdef __cplusplus
  19. +} /* extern "C" */
  20. +#endif
  21. +
  22. #endif