newgrf_config.c
changeset 5441 e8bac228a6db
parent 5401 b329aa268ce4
child 5469 7edfc643abbc
--- a/newgrf_config.c	Sun Dec 31 10:30:37 2006 +0000
+++ b/newgrf_config.c	Sun Dec 31 11:12:49 2006 +0000
@@ -328,6 +328,8 @@
 	return NULL;
 }
 
+#ifdef ENABLE_NETWORK
+
 /** Structure for UnknownGRFs; this is a lightweight variant of GRFConfig */
 typedef struct UnknownGRF UnknownGRF;
 struct UnknownGRF {
@@ -377,6 +379,8 @@
 	return grf->name;
 }
 
+#endif /* ENABLE_NETWORK */
+
 
 /* Retrieve a NewGRF from the current config by its grfid */
 GRFConfig *GetGRFConfig(uint32 grfid)