diff options
Diffstat (limited to 'packages/maemo-strongswan/debian/patches/llabs-needs-c99.patch')
-rw-r--r-- | packages/maemo-strongswan/debian/patches/llabs-needs-c99.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/packages/maemo-strongswan/debian/patches/llabs-needs-c99.patch b/packages/maemo-strongswan/debian/patches/llabs-needs-c99.patch new file mode 100644 index 000000000..25aced4a6 --- /dev/null +++ b/packages/maemo-strongswan/debian/patches/llabs-needs-c99.patch @@ -0,0 +1,13 @@ +llabs is defined in C99. features.h on other platforms enables C99 features +automatically, here we explicitly enable them with _GNU_SOURCE (which enables +also a lot of other things). +--- a/src/libstrongswan/utils.c ++++ b/src/libstrongswan/utils.c +@@ -14,6 +14,7 @@ + * for more details. + */ + ++#define _GNU_SOURCE + #include "utils.h" + + #include <sys/stat.h> |