summaryrefslogtreecommitdiffhomepage
path: root/src/go/unit/linux-lrt.go
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/go/unit/linux-lrt.go13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/go/unit/linux-lrt.go b/src/go/unit/linux-lrt.go
new file mode 100644
index 00000000..37ea4880
--- /dev/null
+++ b/src/go/unit/linux-lrt.go
@@ -0,0 +1,13 @@
+// +build linux
+
+/*
+ * Copyright (C) Max Romanov
+ * Copyright (C) NGINX, Inc.
+ */
+
+package unit
+
+/*
+#cgo LDFLAGS: -lrt
+*/
+import "C"