diff options
author | Chris Kuethe <chris.kuethe@gmail.com> | 2005-07-25 03:37:38 +0000 |
---|---|---|
committer | Chris Kuethe <chris.kuethe@gmail.com> | 2005-07-25 03:37:38 +0000 |
commit | ce984b2182ba2a5aeb58d382313ada84af16c00d (patch) | |
tree | 5137c9e985a01b5ad96d9b5f4937aed1553a7943 /rtcm.c | |
parent | f6367a5327212ffd0958733a8970966bc1e34fb5 (diff) | |
download | gpsd-ce984b2182ba2a5aeb58d382313ada84af16c00d.tar.gz |
At least on OpenBSD, endian.h is in /usr/include/sys
Other developers, please check to see if your <endian.h> is just a
pointer to <sys/endian.h> and if it is, we can kill off this ifdef...
Diffstat (limited to 'rtcm.c')
-rw-r--r-- | rtcm.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -86,7 +86,11 @@ Starlink's website. #include <string.h> #include <stdbool.h> #include <stdio.h> +#if defined(__OpenBSD__) +#include <sys/endian.h> +#else #include <endian.h> +#endif #include "gpsd.h" |