summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArtyom V. Poptsov <poptsov.artyom@gmail.com>2017-06-04 08:22:11 +0300
committerArtyom V. Poptsov <poptsov.artyom@gmail.com>2017-06-04 08:22:11 +0300
commit9247ad99469303adb071a3d2d336b3d4e3ac6881 (patch)
tree3dbe995d927363848445ff1ee1e328698fa52942
parentchannel-func.c (guile_ssh_channel_open_forward): Log warnings (diff)
downloadguile-ssh-9247ad99469303adb071a3d2d336b3d4e3ac6881.tar.gz
libguile-ssh/log.h: Add missing includes; use ifndef
-rw-r--r--libguile-ssh/log.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/libguile-ssh/log.h b/libguile-ssh/log.h
index ee0324a..dd1424b 100644
--- a/libguile-ssh/log.h
+++ b/libguile-ssh/log.h
@@ -16,6 +16,11 @@
* along with Guile-SSH. If not, see <http://www.gnu.org/licenses/>.
*/
+#ifndef __LOG_H__
+#define __LOG_H__
+
+#include "common.h"
+
extern struct symbol_mapping log_verbosity[];
extern void _gssh_log_error (const char* function_name, const char* msg,
@@ -26,4 +31,6 @@ extern void _gssh_log_warning (const char* function_name, const char* msg,
extern void init_log_func (void);
+#endif /* ifndef __LOG_H__ */
+
/* log.h ends here */