8696608356
* vitetris-fix-gcc14.patch OBS-URL: https://build.opensuse.org/package/show/games/vitetris?expand=0&rev=12
26 lines
660 B
Diff
26 lines
660 B
Diff
diff --git a/src/menu/netplay.c b/src/menu/netplay.c
|
|
index 0b03ec7..f181ebb 100644
|
|
--- a/src/menu/netplay.c
|
|
+++ b/src/menu/netplay.c
|
|
@@ -17,7 +17,7 @@ static char name_str[18];
|
|
|
|
static int cursor = -1;
|
|
|
|
-static init_field(char *str, const char *val, int maxlen)
|
|
+static void init_field(char *str, const char *val, int maxlen)
|
|
{
|
|
memset(str, ' ', maxlen+1);
|
|
if (val) {
|
|
diff --git a/src/netw/tty_socket.c b/src/netw/tty_socket.c
|
|
index c6858a4..1593498 100644
|
|
--- a/src/netw/tty_socket.c
|
|
+++ b/src/netw/tty_socket.c
|
|
@@ -11,6 +11,7 @@
|
|
#include <sys/un.h>
|
|
#include <pwd.h>
|
|
#include <errno.h>
|
|
+#include <time.h>
|
|
#include "sock.h"
|
|
#include "internal.h"
|
|
|