summaryrefslogtreecommitdiffstats
path: root/journal-notify.h
diff options
context:
space:
mode:
Diffstat (limited to 'journal-notify.h')
-rw-r--r--journal-notify.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/journal-notify.h b/journal-notify.h
index c16942d..858b9c8 100644
--- a/journal-notify.h
+++ b/journal-notify.h
@@ -8,10 +8,12 @@
#ifndef _JOURNAL_NOTIFY_H
#define _JOURNAL_NOTIFY_H
+#include <getopt.h>
+#include <regex.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
-#include <regex.h>
+#include <unistd.h>
#include <systemd/sd-journal.h>
@@ -19,7 +21,6 @@
#include "version.h"
-#define OPTSTRING "aehi:m:nor:v"
#define DEFAULTICON "dialog-information"
/*** notify ***/