summaryrefslogtreecommitdiff
path: root/usr.bin/mg/autoexec.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/mg/autoexec.c')
-rw-r--r--usr.bin/mg/autoexec.c11
1 files changed, 8 insertions, 3 deletions
diff --git a/usr.bin/mg/autoexec.c b/usr.bin/mg/autoexec.c
index 49a9f6e6f27..43d52182d44 100644
--- a/usr.bin/mg/autoexec.c
+++ b/usr.bin/mg/autoexec.c
@@ -1,12 +1,17 @@
-/* $OpenBSD: autoexec.c,v 1.15 2014/10/11 03:03:44 doug Exp $ */
+/* $OpenBSD: autoexec.c,v 1.16 2015/03/19 21:22:15 bcallah Exp $ */
/* this file is in the public domain */
/* Author: Vincent Labrecque <vincent@openbsd.org> April 2002 */
+#include <sys/queue.h>
+#include <fnmatch.h>
+#include <signal.h>
+#include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
+
#include "def.h"
#include "funmap.h"
-#include <fnmatch.h>
-
struct autoexec {
SLIST_ENTRY(autoexec) next; /* link in the linked list */
const char *pattern; /* Pattern to match to filenames */