"#include <libgen.h>" is moved to ut.c because of dirname() function
authorMiklos Tirpak <miklos@iptel.org>
Mon, 11 Feb 2008 10:11:00 +0000 (10:11 +0000)
committerMiklos Tirpak <miklos@iptel.org>
Mon, 11 Feb 2008 10:11:00 +0000 (10:11 +0000)
main.c
ut.c

diff --git a/main.c b/main.c
index 1ed2167..162cd80 100644 (file)
--- a/main.c
+++ b/main.c
 #ifdef HAVE_SYS_SOCKIO_H
 #include <sys/sockio.h>
 #endif
-#include <libgen.h>
 
 #include "config.h"
 #include "dprint.h"
diff --git a/ut.c b/ut.c
index b048f61..e545009 100644 (file)
--- a/ut.c
+++ b/ut.c
@@ -36,6 +36,7 @@
 #include <stdlib.h>
 #include <time.h>
 #include <sys/utsname.h> /* uname() */
+#include <libgen.h>
 
 
 #include "ut.h"