summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--data.c2
-rw-r--r--misc.c2
-rw-r--r--network.c2
-rw-r--r--ss.c3
4 files changed, 9 insertions, 0 deletions
diff --git a/data.c b/data.c
index dd39926..247b00d 100644
--- a/data.c
+++ b/data.c
@@ -18,6 +18,8 @@
* along with Samsung-RIL. If not, see <http://www.gnu.org/licenses/>.
*/
+#define _GNU_SOURCE
+#include <stdio.h>
#include <stdlib.h>
#include <arpa/inet.h>
diff --git a/misc.c b/misc.c
index e9ec767..bece1c1 100644
--- a/misc.c
+++ b/misc.c
@@ -18,6 +18,8 @@
* along with Samsung-RIL. If not, see <http://www.gnu.org/licenses/>.
*/
+#define _GNU_SOURCE
+#include <stdio.h>
#include <stdlib.h>
#define LOG_TAG "RIL"
diff --git a/network.c b/network.c
index 1ce903e..e24be5e 100644
--- a/network.c
+++ b/network.c
@@ -21,6 +21,8 @@
* along with Samsung-RIL. If not, see <http://www.gnu.org/licenses/>.
*/
+#define _GNU_SOURCE
+#include <stdio.h>
#include <stdlib.h>
#include <ctype.h>
diff --git a/ss.c b/ss.c
index 51aa46d..15d2b55 100644
--- a/ss.c
+++ b/ss.c
@@ -18,6 +18,9 @@
* along with Samsung-RIL. If not, see <http://www.gnu.org/licenses/>.
*/
+#define _GNU_SOURCE
+#include <stdio.h>
+
#define LOG_TAG "RIL-SS"
#include <utils/Log.h>