Ticket #11 (closed bugs: None)
Opened 6 years ago
Last modified 39 years ago
efltk should check for endian.h
| Reported by: | jmmv | Owned by: | nobody |
|---|---|---|---|
| Priority: | 5 | Milestone: | |
| Component: | None | Version: | None |
| Keywords: | Cc: |
Description
The file eftlk/Fl_Renderer.h includes the header <endian.h>. This header file is not always located in the top dir of the inclusion directory. For example, in NetBSD it is called <sys/endian.h>, so the build fails of files which include Fl_Renderer.h fail. I guess this will also fail in OpenBSD (and maybe in FreeBSD too). The configure script needs to check for sys/endian.h and endian.h, and Fl_Renderer.h needs to choose one of them later, during the build. The attached patch does this. Regards
Change History
Note: See
TracTickets for help on using
tickets.
