diff --git a/client/whereami.c b/client/whereami.c index 9ecfd2870..a18d2d2f7 100644 --- a/client/whereami.c +++ b/client/whereami.c @@ -1,15 +1,14 @@ -// (‑●‑●)> released under the WTFPL v2 license, by Gregory Pakosz (@gpakosz) +// (‑●‑●)> dual licensed under the WTFPL v2 and MIT licenses +// without any warranty. +// by Gregory Pakosz (@gpakosz) // https://github.com/gpakosz/whereami -// in case you want to #include "whereami.c" in a larger compilation unit -#if !defined(WHEREAMI_H) -#include -#endif - #ifdef __cplusplus extern "C" { #endif +#include + #if defined(__linux__) // make realpath() available: #define _DEFAULT_SOURCE diff --git a/client/whereami.h b/client/whereami.h index 6610a2ff4..0e0c2b588 100644 --- a/client/whereami.h +++ b/client/whereami.h @@ -1,4 +1,6 @@ -// (‑●‑●)> released under the WTFPL v2 license, by Gregory Pakosz (@gpakosz) +// (‑●‑●)> dual licensed under the WTFPL v2 and MIT licenses +// without any warranty. +// by Gregory Pakosz (@gpakosz) // https://github.com/gpakosz/whereami #ifndef WHEREAMI_H