]> arthur.barton.de Git - netatalk.git/commitdiff
Add forgotten header
authorFrank Lahm <franklahm@googlemail.com>
Thu, 3 Nov 2011 14:14:30 +0000 (15:14 +0100)
committerFrank Lahm <franklahm@googlemail.com>
Thu, 3 Nov 2011 14:14:30 +0000 (15:14 +0100)
include/atalk/standards.h [new file with mode: 0644]

diff --git a/include/atalk/standards.h b/include/atalk/standards.h
new file mode 100644 (file)
index 0000000..0393dd1
--- /dev/null
@@ -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 */