Commit Diff


commit - 12e4b84cd4a8ccc7ff8312f31d3bcc13d1f0de33
commit + 50a969b7ac35bc33a78d07ae3aa7bc19a13b7378
blob - 98b898fa332cce34c89eab9cb257f02cd1274265
blob + 08ea466810b8d089cefb2d3b0a59dc19bb171866
--- FICS/ficsmain.h
+++ FICS/ficsmain.h
@@ -32,6 +32,8 @@
 #include <fcntl.h>
 #include <unistd.h>
 
+#include "common.h"
+
 /*
  * Heartbead functions occur approx in this time, including checking
  * for new connections and decrementing timeleft counters.
@@ -63,11 +65,13 @@
 #define STATS_GAMES	"games"
 #define STATS_JOURNAL	"journal"
 
+__FICS_BEGIN_DECLS
 extern const int	g_open_flags[2];
 extern const mode_t	g_open_modes;
 
 /* Arguments */
 extern int	port;
 extern int	withConsole;
+__FICS_END_DECLS
 
 #endif /* _FICSMAIN_H */