mirror of
https://git.freebsd.org/ports.git
synced 2025-07-03 18:39:16 -04:00
- Add LICENSE - Pass maintainership to submitter PR: 201162 Submitted by: mizhka@gmail.com
14 lines
262 B
C
14 lines
262 B
C
--- bswap.h.orig 2005-02-08 02:20:14 UTC
|
|
+++ bswap.h
|
|
@@ -6,7 +6,11 @@
|
|
#ifndef __BSWAP_H__
|
|
#define __BSWAP_H__
|
|
|
|
+#ifdef __FreeBSD__
|
|
+#include <sys/endian.h>
|
|
+#else
|
|
#include <endian.h>
|
|
+#endif
|
|
#if __BYTE_ORDER == __BIG_ENDIAN
|
|
#define WORDS_BIGENDIAN
|
|
#endif
|