summaryrefslogtreecommitdiff
path: root/cmd-line-utils/libedit/search.c
diff options
context:
space:
mode:
Diffstat (limited to 'cmd-line-utils/libedit/search.c')
-rw-r--r--cmd-line-utils/libedit/search.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd-line-utils/libedit/search.c b/cmd-line-utils/libedit/search.c
index 848429e091b..850c5f27140 100644
--- a/cmd-line-utils/libedit/search.c
+++ b/cmd-line-utils/libedit/search.c
@@ -37,6 +37,7 @@
/*
* search.c: History and character search functions
*/
+#include <sys/types.h>
#include <stdlib.h>
#if defined(REGEX)
#include <regex.h>