diff options
author | Christian Hesse <mail@eworm.de> | 2014-08-09 11:03:16 +0200 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2014-08-09 11:03:16 +0200 |
commit | 16f4940a89df5dfe21ed545e28e17d65e6bd72a9 (patch) | |
tree | 83e06ff57b3a214b80b5686ab547401326708b68 /journal-notify.h | |
parent | 465ee18154534aedfda28e29130b1f2b8c2e5189 (diff) | |
download | journal-notify-16f4940a89df5dfe21ed545e28e17d65e6bd72a9.tar.gz journal-notify-16f4940a89df5dfe21ed545e28e17d65e6bd72a9.tar.zst |
allow to give long arguments
Diffstat (limited to 'journal-notify.h')
-rw-r--r-- | journal-notify.h | 5 |
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 ***/ |