Skip to content

Commit

Permalink
add libbsd for strtonum()
Browse files Browse the repository at this point in the history
  • Loading branch information
steinex committed Apr 24, 2019
1 parent f90fcc0 commit 3e73ec0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PREFIX = /usr
INSTALL = install
CFLAGS += -Wall -D__dead=
FLAGS = $(shell pkg-config --libs --cflags xscrnsaver xext x11)
FLAGS = $(shell pkg-config --libs --cflags xscrnsaver xext x11 libbsd)

xidle:
$(CC) -o xidle xidle.c $(CFLAGS) $(LDFLAGS) $(FLAGS)
Expand Down
1 change: 1 addition & 0 deletions xidle.c
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <bsd/stdlib.h>

#ifndef CLASS_NAME
#define CLASS_NAME "XIdle"
Expand Down

0 comments on commit 3e73ec0

Please sign in to comment.