Include strings.h which is needed for strcasemp. Some systems declare them
in string.h, but it should be possible to include both.
This commit is contained in:
@@ -27,6 +27,7 @@
|
||||
#include <unistd.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <strings.h>
|
||||
#include <time.h>
|
||||
|
||||
#include "shared/sockets.h"
|
||||
|
||||
@@ -1,9 +1,8 @@
|
||||
#include "getopt.h"
|
||||
|
||||
#include <stdio.h>
|
||||
#include <unistd.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <strings.h>
|
||||
#include <fcntl.h>
|
||||
#include <termios.h>
|
||||
#include <errno.h>
|
||||
@@ -25,6 +24,7 @@
|
||||
#include "shared/debug.h"
|
||||
#include "shared/report.h"
|
||||
#include "shared/configfile.h"
|
||||
#include "getopt.h"
|
||||
|
||||
#include "batt.h"
|
||||
#include "chrono.h"
|
||||
|
||||
Reference in New Issue
Block a user