Source-Changes archive

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

CVS commit: src/common/lib/libprop



Module Name:    src
Committed By:   kre
Date:           Sun Apr 27 02:54:05 UTC 2025

Modified Files:
        src/common/lib/libprop: prop_kern.c

Log Message:
Fix builds on NetBSD hosts.

Do not #include prop_object_impl.h in tools or _STANDALONE
builds, it (directly or indirectly) brings in far too much
that is inappropriate in those environments.

If its sole reason for being added was for the fallback
definition of _PROP_EXPORT then in those cases, simply
supply that here.

This is most probably not the most elegant of fixes, and a
better way of supplying that fallback definition than dumping
it in the middle of prop_object_impl.h should be found.

Someone else's problem - but DO test any alternative version
of this with a complete clean build on a NetBSD host before
committing.   And note, that since prop_object_impl.h includes
nbtool_config.h, when appropriate, it MUST be included before
any other system include file (but that change alone is not
sufficient to fix things, so do it this way instead).

This should unbreak all (well, all the previously unbroken)
builds on NetBSD hosts.


To generate a diff of this commit:
cvs rdiff -u -r1.28 -r1.29 src/common/lib/libprop/prop_kern.c

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