Avoid conflict produced by hgnutls header on openbsd4.4

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@27229 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
rfm 2008-12-06 18:13:31 +00:00
parent a14130e423
commit d87167419a

View file

@ -170,8 +170,13 @@ GSPrivateSockaddrLength(struct sockaddr *addr)
@end
#if defined(HAVE_GNUTLS)
/* For some systems we may need to avoid headers using the objc reserved
* word 'id'.
*/
#define id GSTLSID
#include <gnutls/gnutls.h>
#include <gcrypt.h>
#undef GSTLSID
/* Set up locking callbacks for gcrypt so that it will be thread-safe.
*/