vitetris/0005-fix-implicit-declaration.patch

28 lines
625 B
Diff

From: Baptiste BEAUPLAT <lyknode@cilg.org>
Date: Mon, 15 Oct 2018 21:40:48 +0200
Subject: fix-implicit-declaration
---
src/menu/netplay.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/src/menu/netplay.c b/src/menu/netplay.c
index 4814a89..0b03ec7 100644
--- a/src/menu/netplay.c
+++ b/src/menu/netplay.c
@@ -1,11 +1,14 @@
#include <string.h>
#include <stdio.h>
+#include <stdlib.h>
+#include <ctype.h>
#include "menu.h"
#include "menuext.h"
#include "../input/input.h"
#include "../textgfx/textgfx.h"
#include "../netw/sock.h"
#include "../options.h"
+#include "../draw/draw.h"
extern FILE *inet_out;