summaryrefslogtreecommitdiff
path: root/src/st.c
diff options
context:
space:
mode:
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 {