summaryrefslogtreecommitdiffstats
path: root/src/misc.c
diff options
context:
space:
mode:
authorChristophe Grenier <grenier@cgsecurity.org>2014-03-16 19:25:41 +0100
committerChristophe Grenier <grenier@cgsecurity.org>2014-03-16 19:25:41 +0100
commit6d89d174d730c8804caf6a2c47dee500d140003d (patch)
tree89268da5737b58f7857da900cedfe95b16b2d3cf /src/misc.c
parent96ed01817665331ac4088194f8fd56c2ed3dabad (diff)
src/misc.c: HAVE_UNAME wasn't used
Diffstat (limited to 'src/misc.c')
-rw-r--r--src/misc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/misc.c b/src/misc.c
index 2c92804..9717533 100644
--- a/src/misc.c
+++ b/src/misc.c
@@ -158,7 +158,7 @@ http://msdn.microsoft.com/library/default.asp?url=/library/en-us/sysinfo/base/ge
}
#elif defined(DJGPP)
return "DOS";
-#elif defined(HAVE_SYS_UTSNAME_H)
+#elif defined(HAVE_SYS_UTSNAME_H) && defined(HAVE_UNAME)
{
struct utsname Ver;
if(uname(&Ver)==0)