summaryrefslogtreecommitdiff
path: root/src/st.c
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff.email>2020-04-20 20:34:10 +0200
committerJörg Frings-Fürst <debian@jff.email>2020-04-20 20:34:10 +0200
commitf3d6e46ce3762b6f51a166119d3982fd3715507a (patch)
tree0935fb6da7f1d9728b42ddf08395a0e977e1c228 /src/st.c
parent043fff5b6f2461aeccb1c62cb771826cfe301832 (diff)
parent73c6133c32cddae59813cbadf655cb50a3a7356a (diff)
Merge branch 'feature/upstream' into develop
Diffstat (limited to 'src/st.c')
-rw-r--r--src/st.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/src/st.c b/src/st.c
index e5fd1a1..522f205 100644
--- a/src/st.c
+++ b/src/st.c
@@ -2,17 +2,14 @@
/* static char sccsid[] = "@(#) st.c 5.1 89/12/14 Crucible"; */
-#include <stdio.h>
-#include <stdlib.h>
-#include <string.h>
-
-#ifdef _WIN32
-#include <malloc.h>
+#ifndef NEED_TO_INCLUDE_STDIO
+#define NEED_TO_INCLUDE_STDIO
#endif
#include "regint.h"
#include "st.h"
+
typedef struct st_table_entry st_table_entry;
struct st_table_entry {