X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=gio%2Fgcredentialsprivate.h;h=88c403b0786cc7c4ce8f91ce45eea1d8c87bf5ec;hb=2138deb07ebb7d7e541c0cd35b966e107d1bf800;hp=ee7d636e46978f46a8f738d3259d38eb48544f87;hpb=5a269e5a90181a5cafce90e7e5d7bc4f42f47f52;p=platform%2Fupstream%2Fglib.git diff --git a/gio/gcredentialsprivate.h b/gio/gcredentialsprivate.h index ee7d636..88c403b 100644 --- a/gio/gcredentialsprivate.h +++ b/gio/gcredentialsprivate.h @@ -13,9 +13,7 @@ * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General - * Public License along with this library; if not, write to the - * Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307, USA. + * Public License along with this library; if not, see . */ #ifndef __G_CREDENTIALS_PRIVATE_H__ @@ -41,6 +39,14 @@ #define G_CREDENTIALS_UNIX_CREDENTIALS_MESSAGE_SUPPORTED 1 #define G_CREDENTIALS_SPOOFING_SUPPORTED 1 +#elif defined(__NetBSD__) +#define G_CREDENTIALS_SUPPORTED 1 +#define G_CREDENTIALS_USE_NETBSD_UNPCBID 1 +#define G_CREDENTIALS_NATIVE_TYPE G_CREDENTIALS_TYPE_NETBSD_UNPCBID +#define G_CREDENTIALS_NATIVE_SIZE (sizeof (struct unpcbid)) +/* #undef G_CREDENTIALS_UNIX_CREDENTIALS_MESSAGE_SUPPORTED */ +#define G_CREDENTIALS_SPOOFING_SUPPORTED 1 + #elif defined(__OpenBSD__) #define G_CREDENTIALS_SUPPORTED 1 #define G_CREDENTIALS_USE_OPENBSD_SOCKPEERCRED 1