From e7ccd2b51d13d9900fb3e841c13562e57448b279 Mon Sep 17 00:00:00 2001 From: Maxim Mamontov <faust.madf@gmail.com> Date: Thu, 29 May 2014 23:34:24 +0300 Subject: [PATCH] Fixed compilation on *BSD systems. --- projects/sgconf/main.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/projects/sgconf/main.cpp b/projects/sgconf/main.cpp index 22e998f3..0715b7b1 100644 --- a/projects/sgconf/main.cpp +++ b/projects/sgconf/main.cpp @@ -35,9 +35,10 @@ #include <iostream> #include <cstdlib> // getenv -#include <cstring> // basename +#include <cstring> // str* #include <unistd.h> // access +#include <libgen.h> // basename namespace { -- 2.44.2