diff --git a/core/include/thread.h b/core/include/thread.h
index ffdc77dfd05d6c3e02290e779cb18bc3c975fbcd..00e9c34477d8915384d1f60d460d3538b00ea54f 100644
--- a/core/include/thread.h
+++ b/core/include/thread.h
@@ -63,10 +63,13 @@
  * Usage
  * -----
  * ~~~~~~~~~~~~~~~~~~~~~~~~ {.c}
+ * #include "thread.h"
+ *
  * char rcv_thread_stack[THREAD_STACKSIZE_MAIN];
  *
  * void *rcv_thread(void *arg)
  * {
+ *     (void) arg;
  *     msg_t m;
  *
  *     while (1) {