summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke <luke.wilde@live.co.uk>2020-09-09 08:20:00 +0100
committerAndreas Kling <kling@serenityos.org>2020-09-27 01:02:11 +0200
commit83849f0ef380c05e83b4facbc9cf23f495c1eb2c (patch)
tree66ac8841526e521dd39ea4923358ef6db8c85c71
parent7334f21ef7aa5544c247eecae60aa26fbfd798a9 (diff)
downloadserenity-83849f0ef380c05e83b4facbc9cf23f495c1eb2c.zip
LibC: Include cdefs.h in getopt.h
Required for __BEGIN_DECLS
-rw-r--r--Libraries/LibC/getopt.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Libraries/LibC/getopt.h b/Libraries/LibC/getopt.h
index 5c422d414a..0aaddf2820 100644
--- a/Libraries/LibC/getopt.h
+++ b/Libraries/LibC/getopt.h
@@ -26,6 +26,8 @@
#pragma once
+#include <sys/cdefs.h>
+
__BEGIN_DECLS
#define no_argument 0