/*
 * Copyright (C) 2013  INRIA.
 *
 * This file is subject to the terms and conditions of the GNU Lesser
 * General Public License v2.1. See the file LICENSE in the top level
 * directory for more details.
 */

/**
 * @ingroup     sys_shell_commands
 * @{
 *
 * @file
 * @brief       Shell commands for the PS module
 *
 * @author      Oliver Hahm <oliver.hahm@inria.fr>
 *
 * @}
 */

#ifdef MODULE_PS
#include "ps.h"

int _ps_handler(int argc, char **argv)
{
    (void) argc;
    (void) argv;

    ps();

    return 0;
}
#endif
/*
 * Copyright (C) 2013  INRIA.
 *
 * This file is subject to the terms and conditions of the GNU Lesser
 * General Public License v2.1. See the file LICENSE in the top level
 * directory for more details.
 */

/**
 * @ingroup     sys_shell_commands
 * @{
 *
 * @file
 * @brief       Shell commands for the PS module
 *
 * @author      Oliver Hahm <oliver.hahm@inria.fr>
 *
 * @}
 */

#include "ps.h"

int _ps_handler(int argc, char **argv)
{
    (void) argc;
    (void) argv;

    ps();

    return 0;
}

--- 
+++ 
@@ -18,6 +18,7 @@
  * @}
  */
 
+#ifdef MODULE_PS
 #include "ps.h"
 
 int _ps_handler(int argc, char **argv)
@@ -29,3 +30,4 @@
 
     return 0;
 }
+#endif
Fix ps depedency when ps not included
