blob: 803f979cd065a8e30426a1a6c37288668d7bdabb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
$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
|