summaryrefslogtreecommitdiff
path: root/examples/ptpclient
diff options
context:
space:
mode:
Diffstat (limited to 'examples/ptpclient')
-rw-r--r--examples/ptpclient/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/ptpclient/Makefile b/examples/ptpclient/Makefile
index b77cf71..d241730 100644
--- a/examples/ptpclient/Makefile
+++ b/examples/ptpclient/Makefile
@@ -46,6 +46,7 @@ SRCS-y := ptpclient.c
CFLAGS += -O3
CFLAGS += $(WERROR_FLAGS)
+LDLIBS += -lrt
# workaround for a gcc bug with noreturn attribute
# http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12603