summaryrefslogtreecommitdiffstats
path: root/Modules/config.c.in
diff options
context:
space:
mode:
Diffstat (limited to 'Modules/config.c.in')
-rw-r--r--Modules/config.c.in16
1 files changed, 9 insertions, 7 deletions
diff --git a/Modules/config.c.in b/Modules/config.c.in
index 0973b77..8ed889a 100644
--- a/Modules/config.c.in
+++ b/Modules/config.c.in
@@ -123,6 +123,7 @@ extern void initpwd();
extern void initgrp();
extern void initmarshal();
extern void initselect();
+extern void initsocket();
#ifdef USE_AUDIO
extern void initaudio();
@@ -148,15 +149,15 @@ extern void initpanel();
#ifdef USE_STDWIN
extern void initstdwin();
#endif
-#ifdef USE_SOCKET
-extern void initsocket();
-#endif
#ifdef USE_JPEG
extern void initjpeg();
#endif
#ifdef USE_CD
extern void initcd();
#endif
+#ifdef USE_THREAD
+extern void initthread();
+#endif
struct {
char *name;
@@ -173,6 +174,7 @@ struct {
{"grp", initgrp},
{"marshal", initmarshal},
{"select", initselect},
+ {"socket", initsocket},
/* Optional modules */
@@ -206,10 +208,6 @@ struct {
{"stdwin", initstdwin},
#endif
-#ifdef USE_SOCKET
- {"socket", initsocket},
-#endif
-
#ifdef USE_JPEG
{"jpeg", initjpeg},
#endif
@@ -218,5 +216,9 @@ struct {
{"cd", initcd},
#endif
+#ifdef USE_THREAD
+ {"thread", initthread},
+#endif
+
{0, 0} /* Sentinel */
};