summaryrefslogtreecommitdiff
path: root/newgrf_config.h
diff options
context:
space:
mode:
Diffstat (limited to 'newgrf_config.h')
-rw-r--r--newgrf_config.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/newgrf_config.h b/newgrf_config.h
index 37f5c6d86..6ebc3ffa2 100644
--- a/newgrf_config.h
+++ b/newgrf_config.h
@@ -55,8 +55,10 @@ char *GRFBuildParamList(char *dst, const GRFConfig *c, const char *last);
/* In newgrf_gui.c */
void ShowNewGRFSettings(bool editable, bool show_params, bool exec_changes, GRFConfig **config);
+#ifdef ENABLE_NETWORK
/* For communication about GRFs over the network */
#define UNKNOWN_GRF_NAME_PLACEHOLDER "<Unknown>"
char *FindUnknownGRFName(uint32 grfid, uint8 *md5sum, bool create);
+#endif /* ENABLE_NETWORK */
#endif /* NEWGRF_CONFIG_H */