summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--src/histedit.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/histedit.c b/src/histedit.c
index 94465d7..f5c90ab 100644
--- a/src/histedit.c
+++ b/src/histedit.c
@@ -39,6 +39,7 @@
 #include <stdio.h>
 #include <stdlib.h>
 #include <unistd.h>
+#include <getopt.h>
 /*
  * Editline and history functions (and glue).
  */