On 11/07/17 12:53, Sichen Zhao wrote:

+#ifndef __rtems__
  #include <sys/timeet.h>
+#endif /* __rtems__ */

https://github.com/RTEMS/rtems-libbsd/blob/master/CONTRIBUTING.md

"In general, provide empty header files and do not guard includes."

Each #if __rtems__ makes it harder to stay in synchronization with FreeBSD. Its not a problem to import unmodified FreeBSD header files to get rid of a guarded include.

--
Sebastian Huber, embedded brains GmbH

Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone   : +49 89 189 47 41-16
Fax     : +49 89 189 47 41-09
E-Mail  : sebastian.hu...@embedded-brains.de
PGP     : Public key available on request.

Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.

_______________________________________________
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel

Reply via email to