]> git.draconx.ca Git - rrace.git/commitdiff
Fix some missing #includes.
authorNick Bowler <nbowler@draconx.ca>
Mon, 29 May 2023 00:52:14 +0000 (20:52 -0400)
committerNick Bowler <nbowler@draconx.ca>
Mon, 29 May 2023 00:52:59 +0000 (20:52 -0400)
Instead of relying on transitive includes, ensure that the standard C
headers needed by some source files are actually included directly.

src/curses.c
src/motif_ui.c

index 46f0d7e8f29f476d5e716275603996a50584a88a..f4e70d23899e8dd9ad1ad52b50f1f9932bbd895b 100644 (file)
@@ -17,6 +17,7 @@
  */
 
 #include <config.h>
+#include <stdio.h>
 #include <stdlib.h>
 #include <locale.h>
 #include <assert.h>
index e1b523a0088cae77603c4e204c9318fc1d0b1764..64fe228cea14fddd1388197f8d04fcb2a666eabf 100644 (file)
@@ -17,6 +17,8 @@
  */
 
 #include <config.h>
+#include <stdio.h>
+#include <stdlib.h>
 #include <inttypes.h>
 #include <assert.h>
 #include <Xm/XmAll.h>