Fixed problems on systems using newer GLIB and GCC (2.96) which no
longer allow the -Wp,-lang-c-c++-comments directive. Also cleaned up getloadavg support that had problems on Solaris and RedHat 7.1. Removed unused variables in a number of functions as a result of warnings when compiled with --enable-debug config option.
This commit is contained in:
+15
-2
@@ -5,10 +5,23 @@
|
||||
#include <fcntl.h>
|
||||
#include <string.h>
|
||||
#include <sys/errno.h>
|
||||
#include <sys/time.h>
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
# include "config.h"
|
||||
#endif
|
||||
#if TIME_WITH_SYS_TIME
|
||||
# include <sys/time.h>
|
||||
# include <time.h>
|
||||
#else
|
||||
# if HAVE_SYS_TIME_H
|
||||
# include <sys/time.h>
|
||||
# else
|
||||
# include <time.h>
|
||||
# endif
|
||||
#endif
|
||||
|
||||
#include "lcd.h"
|
||||
#include "../../shared/str.h"
|
||||
#include "shared/str.h"
|
||||
#include "glk.h"
|
||||
#include "glkproto.h"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user