Add define _GNU_SOURCE for strerror_r 51/100651/1
authorMyungki Lee <mk5004.lee@samsung.com>
Tue, 29 Nov 2016 01:55:33 +0000 (10:55 +0900)
committerMyungki Lee <mk5004.lee@samsung.com>
Tue, 29 Nov 2016 01:56:11 +0000 (10:56 +0900)
- Only GNU strerror_r return char *

Signed-off-by: Myungki Lee <mk5004.lee@samsung.com>
Change-Id: I3057780e88574f8ec8af7f48063544be1508612d

src/notification_ipc.c
src/notification_noti.c

index 26a06c4..25f4b3d 100755 (executable)
@@ -13,7 +13,7 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
-
+#define _GNU_SOURCE
 #include <stdio.h>
 #include <string.h>
 #include <stdlib.h>
index 440f374..635d60b 100755 (executable)
@@ -13,7 +13,7 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
-
+#define _GNU_SOURCE
 #include <stdio.h>
 #include <string.h>
 #include <stdlib.h>