commit 2a26443ced2052246e43b3cd544c185bdbf78d89 Author: Mark Johnston Date: Thu Mar 7 15:43:23 2019 -0500 Add endian.h to LHDRS. Many applications expect to be able to include so this is a compatibility sore. Just make a symlink, like OpenBSD does. NetBSD uses a stub header which includes sys/endian.h, but I don't see a good reason for that. We use symlinks for lots of headers today. diff --git a/include/Makefile b/include/Makefile index d1b000cf8a8e..17f2838b4653 100644 --- a/include/Makefile +++ b/include/Makefile @@ -36,8 +36,8 @@ MHDRS= float.h floatingpoint.h stdarg.h PHDRS= sched.h _semaphore.h -LHDRS= aio.h errno.h fcntl.h linker_set.h poll.h stdatomic.h stdint.h \ - syslog.h ucontext.h +LHDRS= aio.h endian.h errno.h fcntl.h linker_set.h poll.h stdatomic.h \ + stdint.h syslog.h ucontext.h LDIRS= bsm cam geom net net80211 netgraph netinet netinet6 \ netipsec netsmb nfs nfsclient nfsserver sys vm