Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/lib/libterminfo



Module Name:    src
Committed By:   js
Date:           Tue Sep 23 20:26:57 UTC 2025

Modified Files:
        src/lib/libterminfo: term_private.h

Log Message:
Wrap <sys/endian.h> include in #ifdef HAVE_SYS_ENDIAN_H

The real issue is that on Darwin, <sys/endian.h> does exist and has be16dec and
friends. However, since they do exist, they are not declared by
"compat_defs.h". Therefore, if <sys/endian.h> exists, we need to include it. In
case <sys/endian.h> does not have be16dec and friends, including it is harmless
and "compat_defs.h" will declare them. And if we don't have <sys/endian.h>,
they are always declared by "compat_defs.h", as the configure check depends on
<sys/endian.h>.


To generate a diff of this commit:
cvs rdiff -u -r1.20 -r1.21 src/lib/libterminfo/term_private.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index