patch-src_polkitbackend_polkitbackendjsauthority_c 671 B

12345678910111213141516171819202122
  1. $OpenBSD: patch-src_polkitbackend_polkitbackendjsauthority_c,v 1.11 2015/07/20 20:16:59 ajacoutot Exp $
  2. From 074df27827fd773f1c76545cd08da568440ca41f Mon Sep 17 00:00:00 2001
  3. From: Antoine Jacoutot <ajacoutot@gnome.org>
  4. Date: Sun, 19 Jul 2015 02:19:08 +0200
  5. Subject: Add support for OpenBSD
  6. --- src/polkitbackend/polkitbackendjsauthority.c.orig Fri Jun 19 22:39:58 2015
  7. +++ src/polkitbackend/polkitbackendjsauthority.c Fri Jul 3 07:31:00 2015
  8. @@ -24,7 +24,11 @@
  9. #include <errno.h>
  10. #include <pwd.h>
  11. #include <grp.h>
  12. +#ifdef HAVE_NETGROUP_H
  13. +#include <netgroup.h>
  14. +#else
  15. #include <netdb.h>
  16. +#endif
  17. #include <string.h>
  18. #include <glib/gstdio.h>
  19. #include <locale.h>