Add missing headers and remove double typedef.

This commit is contained in:
Uwe Bonnes 2021-05-14 18:51:53 +02:00 committed by UweBonnes
parent cfbe9f1c94
commit 8e438b9e5f
3 changed files with 2 additions and 3 deletions

View File

@ -38,8 +38,6 @@
# include "traceswo.h"
#endif
typedef bool (*cmd_handler)(target *t, int argc, const char **argv);
static bool cmd_version(target *t, int argc, char **argv);
static bool cmd_help(target *t, int argc, char **argv);

View File

@ -24,7 +24,7 @@
#include <stdio.h>
#include <unistd.h>
#include <string.h>
#include <alloca.h>
#include <assert.h>
#include "general.h"

View File

@ -19,6 +19,7 @@
*/
#include <sys/types.h>
#include <sys/stat.h>
#include <sys/select.h>
#include <dirent.h>
#include <fcntl.h>
#include <errno.h>