From 602a93eb298fb02b2186814ffc16f7c1bbc8094e Mon Sep 17 00:00:00 2001
From: Utz-Uwe Haus <uhaus@cray.com>
Date: Wed, 18 Nov 2020 17:29:14 +0100
Subject: [PATCH] add missing i_ketopt.h

---
 include/Makefile.am        |  1 +
 include/maestro/i_ketopt.h | 14 +++++---------
 2 files changed, 6 insertions(+), 9 deletions(-)

diff --git a/include/Makefile.am b/include/Makefile.am
index 4110360c..fa363626 100644
--- a/include/Makefile.am
+++ b/include/Makefile.am
@@ -77,6 +77,7 @@ noinst_HEADERS = \
 	maestro/i_pool.h       \
 	maestro/i_mempool.h    \
 	maestro/i_khash.h      \
+	maestro/i_ketopt.h     \
 	maestro/i_hashing.h    \
 	maestro/i_misc.h
 
diff --git a/include/maestro/i_ketopt.h b/include/maestro/i_ketopt.h
index 166938b8..db8bae31 100644
--- a/include/maestro/i_ketopt.h
+++ b/include/maestro/i_ketopt.h
@@ -1,10 +1,7 @@
-/* taken from https://github.com/attractivechaos/klib/blob/master/ketopt.h */
-
-/* This file is originally part of klib, which is licensed under the
- * X11/MIT licnense: */
-
+/* ketopt.h from https://github.com/attractivechaos/klib/blob/master/ketopt.h */
+/* This is version  cc7e69f, dated Wed Nov 18 17:27:49 CET 2020 */
 /* The MIT License
-   Copyright (c) 2008, 2009, 2011 by Attractive Chaos <attractor@live.co.uk>
+   Copyright (c) 2008, by Attractive Chaos <attractor@live.co.uk>
    Permission is hereby granted, free of charge, to any person obtaining
    a copy of this software and associated documentation files (the
    "Software"), to deal in the Software without restriction, including
@@ -23,9 +20,8 @@
    CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
    SOFTWARE.
 */
-   
-#ifndef I_KETOPT_H
-#define I_KETOPT_H
+#ifndef KETOPT_H
+#define KETOPT_H
 
 #include <string.h> /* for strchr() and strncmp() */
 
-- 
GitLab