JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
Add information about librt and OpenBSD to the FAQ
[st.git] / FAQ
diff --git a/FAQ b/FAQ
index 793680a..adac39f 100644 (file)
--- a/FAQ
+++ b/FAQ
@@ -89,3 +89,12 @@ Putting these lines into your .zshrc will fix the problems.
  St supports meta in 8bit mode, but the default terminfo entry doesn't
  use this capability. If you want it, you have to use the 'st-meta' value
  in TERM.
+
+## I cannot compile st in OpenBSD
+
+OpenBSD lacks of librt, despite it begin mandatory in POSIX
+<http://pubs.opengroup.org/onlinepubs/9699919799/utilities/c99.html#tag_20_11_13>.
+If you want to compile st for OpenBSD you have to remove -lrt from config.mk, and
+st will compile without any loss of functionality, because all the functions are
+included in libc on this platform.
+