From 516ef2d46d69d21d3ebc783cb21bfd61a831d529 Mon Sep 17 00:00:00 2001 From: Frank Lahm Date: Thu, 3 Nov 2011 15:14:30 +0100 Subject: [PATCH] Add forgotten header --- include/atalk/standards.h | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 include/atalk/standards.h diff --git a/include/atalk/standards.h b/include/atalk/standards.h new file mode 100644 index 00000000..0393dd19 --- /dev/null +++ b/include/atalk/standards.h @@ -0,0 +1,30 @@ +/* + Copyright (c) 2011, Frank Lahm + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program 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 General Public License for more details. +*/ + +#ifndef ATALK_STANDARDS_H +#define ATALK_STANDARDS_H 1 + +#if !defined(__FreeBSD__) && !defined(__NetBSD__) && !defined(__OpenBSD__) +# ifndef _XOPEN_SOURCE +# define _XOPEN_SOURCE 600 +# endif +# ifndef __EXTENSIONS__ +# define __EXTENSIONS__ +# endif +# ifndef _GNU_SOURCE +# define _GNU_SOURCE +# endif +#endif + +#endif /* ATALK_STANDARDS_H */ -- 2.39.2