about summary refs log tree commit diff stats
path: root/src/ui/titlebar.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/titlebar.c')
-rw-r--r--src/ui/titlebar.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/ui/titlebar.c b/src/ui/titlebar.c
index 05db5550..9eb82aea 100644
--- a/src/ui/titlebar.c
+++ b/src/ui/titlebar.c
@@ -60,7 +60,9 @@ static GTimer *typing_elapsed;
 static void _title_bar_draw(void);
 static void _show_contact_presence(void);
 static void _show_self_presence(void);
+#ifdef HAVE_LIBOTR
 static void _show_privacy(void);
+#endif
 
 void
 create_title_bar(void)
@@ -259,6 +261,7 @@ _show_self_presence(void)
     wattroff(win, bracket_attrs);
 }
 
+#ifdef HAVE_LIBOTR
 static void
 _show_privacy(void)
 {
@@ -320,6 +323,7 @@ _show_privacy(void)
         }
     }
 }
+#endif
 
 static void
 _show_contact_presence(void)
@@ -363,4 +367,4 @@ _show_contact_presence(void)
         wprintw(win, "]");
         wattroff(win, bracket_attrs);
     }
-}
\ No newline at end of file
+}