Index: src/mboxgrep.h
--- src/mboxgrep.h.orig
+++ src/mboxgrep.h
@@ -129,6 +129,6 @@ typedef struct
 }
 option_t;
 
-option_t config;
+extern option_t config;
 
 #endif /* MBOXGREP_H */
