system/nxinit: Fix timespec incomplete error in action.h

/.../apps/system/nxinit/action.h:72:19: error: field 'time_run' has incomplete type
    72 |   struct timespec time_run;
       |                   ^~~~~~~~

Signed-off-by: wangjianyu3 <wangjianyu3@xiaomi.com>
This commit is contained in:
wangjianyu3 2025-12-04 12:30:59 +08:00
parent 1edff9e37e
commit c0815441d4
2 changed files with 2 additions and 1 deletions

View file

@ -29,7 +29,6 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <time.h>
#include <sys/types.h>
#include <sys/param.h>
#include <unistd.h>

View file

@ -29,6 +29,8 @@
#include <nuttx/list.h>
#include <time.h>
#include "parser.h"
/****************************************************************************