diff options
Diffstat (limited to 'autistdraw.c')
-rw-r--r-- | autistdraw.c | 35 |
1 files changed, 5 insertions, 30 deletions
diff --git a/autistdraw.c b/autistdraw.c index 2d86f63..3034174 100644 --- a/autistdraw.c +++ b/autistdraw.c @@ -18,32 +18,11 @@ * */ -#include <stdio.h> -#include <stdlib.h> -#include <locale.h> -#include <stdarg.h> -#include <stdint.h> -#include <stdbool.h> -#include <string.h> -#include <errno.h> - -#include <unistd.h> -#include <fcntl.h> -#include <signal.h> - -#include <sys/socket.h> -#include <sys/types.h> -#include <netinet/in.h> -#include <netdb.h> - -#ifndef NI_MAXHOST -#define NI_MAXHOST 1025 -#endif // ! NI_MAXHOST - -#ifndef NI_MAXSERV -#define NI_MAXSERV 32 -#endif // ! NI_MAXSERV +#include "config.h" +#include "liberty/liberty.c" +#include "termo.h" +#include <locale.h> #include <termios.h> #ifndef TIOCGWINSZ #include <sys/ioctl.h> @@ -51,10 +30,6 @@ #include <ev.h> #include <curses.h> -#include "termo.h" - -#include "config.h" -#include "utils.c" #define PALETTE_WIDTH 9 ///< Width of the palette #define TOP_BAR_CUTOFF 3 ///< Height of the top bar @@ -1464,7 +1439,7 @@ parse_program_arguments (app_options_t *options, int argc, char **argv) opt_handler_usage (&oh, stdout); exit (EXIT_SUCCESS); case 'V': - printf (PROJECT_NAME " " PROJECT_VERSION "\n"); + printf (PROGRAM_NAME " " PROGRAM_VERSION "\n"); exit (EXIT_SUCCESS); case 's': if (options->server_address) |