From 493a26b93a1f585e7a4a8074395ed97031bcbcc6 Mon Sep 17 00:00:00 2001 From: iceman1001 Date: Mon, 8 Apr 2019 12:47:34 +0200 Subject: [PATCH] updated --- client/whereami.c | 11 +++++------ client/whereami.h | 4 +++- 2 files changed, 8 insertions(+), 7 deletions(-) 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