summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/device.c2
-rw-r--r--src/main.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/device.c b/src/device.c
index 0cd9af4..ba5ed73 100644
--- a/src/device.c
+++ b/src/device.c
@@ -18,7 +18,7 @@
18 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 18 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
19 */ 19 */
20 20
21#define _BSD_SOURCE 21#define _DEFAULT_SOURCE
22 22
23#ifdef HAVE_CONFIG_H 23#ifdef HAVE_CONFIG_H
24#include <config.h> 24#include <config.h>
diff --git a/src/main.c b/src/main.c
index f3c58b7..34aa1f4 100644
--- a/src/main.c
+++ b/src/main.c
@@ -20,7 +20,7 @@
20 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 20 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
21 */ 21 */
22 22
23#define _BSD_SOURCE 23#define _DEFAULT_SOURCE
24#define _GNU_SOURCE 24#define _GNU_SOURCE
25 25
26#ifdef HAVE_CONFIG_H 26#ifdef HAVE_CONFIG_H