summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
authorJosé Fonseca <jrfonseca@users.sourceforge.net>2005-02-15 16:13:06 +0000
committerJosé Fonseca <jrfonseca@users.sourceforge.net>2005-02-15 16:13:06 +0000
commit5482ddc6be9ab5e1bdf9d7fb78208190a8c74f8b (patch)
tree88bc0ac7b1d1845ee1223c85e69fe6be8a756ba5 /main.c
parent07fb1fb09c7f83d723aeb370ccf4e10254ddf583 (diff)
Don't require getopt_long (based on SASAJIMA and Dirk Tilger patches).
Diffstat (limited to 'main.c')
-rw-r--r--main.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/main.c b/main.c
index 08f094b..d1f47e6 100644
--- a/main.c
+++ b/main.c
@@ -4,10 +4,14 @@
*/
+#include "config.h"
+
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
+#ifdef HAVE_GETOPT_H
#include <getopt.h>
+#endif
#include "main.h"
#include "message.h"