Changeset View
Changeset View
Standalone View
Standalone View
x11/libinput/files/patch-src_libinput-util.h
Property | Old Value | New Value |
---|---|---|
fbsd:nokeywords | null | yes \ No newline at end of property |
svn:eol-style | null | native \ No newline at end of property |
svn:keywords | null | FreeBSD=%H \ No newline at end of property |
svn:mime-type | null | text/plain \ No newline at end of property |
--- src/libinput-util.h.orig 2017-10-04 03:31:13 UTC | |||||
+++ src/libinput-util.h | |||||
@@ -39,6 +39,10 @@ | |||||
#include <string.h> | |||||
#include <time.h> | |||||
#include <unistd.h> | |||||
+#ifdef __FreeBSD__ | |||||
+#include <stdlib.h> | |||||
+#include <xlocale.h> | |||||
+#endif | |||||
#include "libinput.h" | |||||
@@ -132,6 +136,10 @@ bool list_empty(const struct list *list); | |||||
#endif | |||||
#define LIBINPUT_EXPORT __attribute__ ((visibility("default"))) | |||||
+ | |||||
+#ifdef __FreeBSD__ | |||||
+#define program_invocation_short_name getprogname() | |||||
+#endif | |||||
static inline void * | |||||
zalloc(size_t size) |