diff --git a/libc/include/sys/param.h b/libc/include/sys/param.h new file mode 100644 index 00000000..e7744d7f --- /dev/null +++ b/libc/include/sys/param.h @@ -0,0 +1,16 @@ +/* sys/param.h: Old-style BSD macros. */ + +#ifndef _SYS_PARAM_H +#define _SYS_PARAM_H + +#include + +#ifndef MIN +#define MIN(a, b) (((a) < (b)) ? (a) : (b)) +#endif + +#ifndef MAX +#define MAX(a, b) (((a) > (b)) ? (a) : (b)) +#endif + +#endif