X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=linux%2Futil.h;h=895585986052808bde82e2430e9c793181a2f297;hb=0847b1d8e4a234d87ba41504416f60a7a1e0f3c7;hp=81751118eb1b836cfc815a49e1c9cb5d5f379683;hpb=d3af2be74b547be9a43c6c8c89ff2fa4ca5fb504;p=spectrwm.git diff --git a/linux/util.h b/linux/util.h index 8175111..8955859 100644 --- a/linux/util.h +++ b/linux/util.h @@ -1,5 +1,3 @@ -/* $scrotwm$ */ - #define FPARSELN_UNESCESC 0x01 #define FPARSELN_UNESCCONT 0x02 #define FPARSELN_UNESCCOMM 0x04 @@ -13,3 +11,12 @@ char *fgetln(FILE *, size_t *); char *fparseln(FILE *, size_t *, size_t *, const char [3], int); long long strtonum(const char *, long long, long long, const char **); + +#ifndef WAIT_ANY +#define WAIT_ANY (-1) +#endif + +/* there is no limit to ulrich drepper's crap */ +#ifndef TAILQ_END +#define TAILQ_END(head) NULL +#endif