aboutsummaryrefslogtreecommitdiffstats
path: root/common/util.h
diff options
context:
space:
mode:
Diffstat (limited to 'common/util.h')
-rw-r--r--common/util.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/common/util.h b/common/util.h
index 5aeb7917c..3b7050132 100644
--- a/common/util.h
+++ b/common/util.h
@@ -38,6 +38,7 @@
#include "../jnlib/strlist.h"
#include "../jnlib/dotlock.h"
#include "../jnlib/utf8conv.h"
+#include "../jnlib/dynload.h"
/* Redefine asprintf by our estream version which uses our own memory
allocator.. */
@@ -204,8 +205,8 @@ int match_multistr (const char *multistr,const char *match);
static inline char *
ttyname (int fd)
{
- return NULL
-};
+ return NULL;
+}
#endif /* !HAVE_TTYNAME */