hack for bad gnutls headers on openbsd

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@27245 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-MacDonald 2008-12-07 13:38:57 +00:00
parent 4dfbe5803a
commit dbffd04677

View file

@ -170,8 +170,12 @@ GSPrivateSockaddrLength(struct sockaddr *addr)
@end
#if defined(HAVE_GNUTLS)
/* Temporarily redefine 'id' in case the headers use the objc reserved word.
*/
#define id GNUTLSID
#include <gnutls/gnutls.h>
#include <gcrypt.h>
#undef id
/* Set up locking callbacks for gcrypt so that it will be thread-safe.
*/