aboutsummaryrefslogtreecommitdiffstats
path: root/packages/maemo-strongswan/debian/patches/llabs-needs-c99.patch
blob: 25aced4a62436f62c61f27247858707ee387c74e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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>