X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=deps%2Flightrec%2Fslist.h;h=37557e64d3374400b63905bc0d93ac5c7c9178c3;hb=564156dc55d38e58bc7c4a27811ca16683bf22b6;hp=18195e8223c7bf4bd4fa414c8a66829981608e91;hpb=a59e553648d65481f8a85822bdd4749fe70371ad;p=pcsx_rearmed.git diff --git a/deps/lightrec/slist.h b/deps/lightrec/slist.h index 18195e82..37557e64 100644 --- a/deps/lightrec/slist.h +++ b/deps/lightrec/slist.h @@ -1,20 +1,13 @@ +/* SPDX-License-Identifier: LGPL-2.1-or-later */ /* - * Copyright (C) 2020 Paul Cercueil - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * Copyright (C) 2020-2021 Paul Cercueil */ #ifndef __LIGHTREC_SLIST_H__ #define __LIGHTREC_SLIST_H__ +#include + #define container_of(ptr, type, member) \ ((type *)((void *)(ptr) - offsetof(type, member)))