git.stg.codes
/
stg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
feed7e6
)
Fixed compilation on *BSD systems.
author
Maxim Mamontov
<faust.madf@gmail.com>
Thu, 29 May 2014 20:34:24 +0000
(23:34 +0300)
committer
Maxim Mamontov
<faust.madf@gmail.com>
Thu, 29 May 2014 20:34:24 +0000
(23:34 +0300)
projects/sgconf/main.cpp
patch
|
blob
|
history
diff --git
a/projects/sgconf/main.cpp
b/projects/sgconf/main.cpp
index 22e998f3561336c21cd2cfdf77bdaead854501e8..0715b7b19ce9bcc6fc793e9b754ae506faaacabd 100644
(file)
--- a/
projects/sgconf/main.cpp
+++ b/
projects/sgconf/main.cpp
@@
-35,9
+35,10
@@
#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
{