inet: do not link against libc
This should make its printed errors show up again. Change-Id: I6839a584dc2a544bae7973ded3ab1dacf04e4ec0
This commit is contained in:
@@ -15,10 +15,6 @@ __RCSID("$NetBSD: bswap64.c,v 1.3 2009/03/16 05:59:21 cegger Exp $");
|
||||
|
||||
#undef bswap64
|
||||
|
||||
#if defined(__minix) && defined(_STANDALONE)
|
||||
#undef bswap32
|
||||
#endif /* defined(__minix) && defined(_STANDALONE) */
|
||||
|
||||
uint64_t
|
||||
bswap64(uint64_t x)
|
||||
{
|
||||
|
||||
@@ -57,6 +57,10 @@ __RCSID("$NetBSD: sha2.c,v 1.24 2013/06/09 19:46:56 christos Exp $");
|
||||
#include "namespace.h"
|
||||
#include <string.h>
|
||||
|
||||
#if defined(__minix) && defined(_LIBMINC)
|
||||
#include <stdint.h> /* for uintptr_t */
|
||||
#endif /* defined(__minix) && defined(_LIBMINC) */
|
||||
|
||||
#endif
|
||||
|
||||
#include <sys/types.h>
|
||||
|
||||
Reference in New Issue
Block a user