Fix warning

pull/6/head
Martin Tournoij 7 years ago
parent 24962c4200
commit 9078b5a6d2
No known key found for this signature in database
GPG Key ID: A6258419189EE585

@ -1,7 +1,8 @@
CC?=cc
CFLAGS?=-std=c99 -pedantic -Wall -Os
all:
${CC} -o find-cursor find-cursor.c -lX11 -lXext -lXfixes
${CC} ${CFLAGS} -o find-cursor find-cursor.c -lX11 -lXext -lXfixes
install:
install --strip -o root -g root find-cursor /bin/

@ -4,6 +4,8 @@
* See below for full copyright
*/
#define _XOPEN_SOURCE 500
#include <getopt.h>
#include <stdint.h>
#include <stdio.h>

Loading…
Cancel
Save