Merge patches for OpenBSD compatibility

This commit is contained in:
Michael Stapelberg
2009-09-02 22:25:50 +02:00
parent ae2371ee58
commit a8352a8988
4 changed files with 61 additions and 0 deletions

View File

@ -161,4 +161,9 @@ void switch_layout_mode(xcb_connection_t *conn, Container *container, int mode);
Client *get_matching_client(xcb_connection_t *conn,
const char *window_classtitle, Client *specific);
#if defined(__OpenBSD__)
/* OpenBSD does not provide memmem(), so we provide FreeBSDs implementation */
void *memmem(const void *l, size_t l_len, const void *s, size_t s_len);
#endif
#endif