25 lines
435 B
Text
25 lines
435 B
Text
$NetBSD: patch-bs,v 1.5 2007/05/13 20:59:48 agc Exp $
|
|
|
|
--- lib/roken/bswap.c 2007/05/13 20:37:35 1.1
|
|
+++ lib/roken/bswap.c 2007/05/13 20:39:58
|
|
38a39,44
|
|
> #include <sys/types.h>
|
|
>
|
|
> #ifdef HAVE_SYS_BSWAP_H
|
|
> #include <sys/bswap.h>
|
|
> #endif
|
|
>
|
|
41c47,48
|
|
< #ifndef HAVE_BSWAP32
|
|
---
|
|
> #ifndef bswap32
|
|
> # ifndef HAVE_BSWAP32
|
|
50a58
|
|
> # endif
|
|
53c61,62
|
|
< #ifndef HAVE_BSWAP16
|
|
---
|
|
> #ifndef bswap16
|
|
> # ifndef HAVE_BSWAP16
|
|
60a70
|
|
> # endif
|