diff --git a/include/nuttx/spinlock.h b/include/nuttx/spinlock.h index 8ead10d7765fd..e484c233c07b6 100644 --- a/include/nuttx/spinlock.h +++ b/include/nuttx/spinlock.h @@ -35,7 +35,6 @@ #include #include -#include #if defined(CONFIG_TICKET_SPINLOCK) || defined(CONFIG_RW_SPINLOCK) # include diff --git a/include/pthread.h b/include/pthread.h index 0418dfacd0726..97eca7a5368ed 100644 --- a/include/pthread.h +++ b/include/pthread.h @@ -49,7 +49,7 @@ * SP_LOCKED and SP_UNLOCKED must constants of type spinlock_t. */ -# include +# include #endif /****************************************************************************