freebsd_network: add __UNCONST

Needed by the new DNS resolver from NetBSD.
This commit is contained in:
Adrien Destugues
2015-06-14 15:46:50 +02:00
parent 0666a27d46
commit 27dab5c12d
@@ -303,4 +303,8 @@
#define __DECONST(type, var) ((type)(uintptr_t)(const void *)(var))
#endif
#ifndef __UNCONST
#define __UNCONST(var) ((void*)(uintptr_t)(const void *)(var))
#endif
#endif