]> git.stg.codes - stg.git/commitdiff
Fixed compilation on *BSD systems.
authorMaxim Mamontov <faust.madf@gmail.com>
Thu, 29 May 2014 20:34:24 +0000 (23:34 +0300)
committerMaxim Mamontov <faust.madf@gmail.com>
Thu, 29 May 2014 20:34:24 +0000 (23:34 +0300)
projects/sgconf/main.cpp

index 22e998f3561336c21cd2cfdf77bdaead854501e8..0715b7b19ce9bcc6fc793e9b754ae506faaacabd 100644 (file)
 #include <iostream>
 
 #include <cstdlib> // getenv
 #include <iostream>
 
 #include <cstdlib> // getenv
-#include <cstring> // basename
+#include <cstring> // str*
 
 #include <unistd.h> // access
 
 #include <unistd.h> // access
+#include <libgen.h> // basename
 
 namespace
 {
 
 namespace
 {