From 0c5beb8ecbed56034f7a7573b28872f487d127ee Mon Sep 17 00:00:00 2001 From: Chris Johns Date: Sun, 27 Apr 2014 09:32:20 +1000 Subject: rtems: Account for the network semaphore. --- cpukit/sapi/include/confdefs.h | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/cpukit/sapi/include/confdefs.h b/cpukit/sapi/include/confdefs.h index b2a58d4bed..c58915c4a6 100644 --- a/cpukit/sapi/include/confdefs.h +++ b/cpukit/sapi/include/confdefs.h @@ -1780,10 +1780,17 @@ const rtems_libio_helper rtems_fs_init_helper = #define CONFIGURE_MAXIMUM_SEMAPHORES 0 #endif + #ifdef RTEMS_NETWORKING + #define CONFIGURE_NETWORKING_SEMAPHORES 1 + #else + #define CONFIGURE_NETWORKING_SEMAPHORES 0 + #endif + #define CONFIGURE_SEMAPHORES \ (CONFIGURE_MAXIMUM_SEMAPHORES + CONFIGURE_LIBIO_SEMAPHORES + \ CONFIGURE_TERMIOS_SEMAPHORES + CONFIGURE_LIBBLOCK_SEMAPHORES + \ - CONFIGURE_SEMAPHORES_FOR_FILE_SYSTEMS) + CONFIGURE_SEMAPHORES_FOR_FILE_SYSTEMS + \ + CONFIGURE_NETWORKING_SEMAPHORES) /* * If there are no user or support semaphores defined, then we can assume -- cgit v1.2.3