aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2016-07-22 14:11:13 +0200
committerMattias Andrée <maandree@kth.se>2016-07-22 14:11:13 +0200
commit75f0d5212ff1409a1d00f2f29f16242058e8249a (patch)
tree03a8d6f41fb3a669c7b4146b427cc3b96610055e
parentAdd build system (diff)
downloadlibcoopgamma-75f0d5212ff1409a1d00f2f29f16242058e8249a.tar.gz
libcoopgamma-75f0d5212ff1409a1d00f2f29f16242058e8249a.tar.bz2
libcoopgamma-75f0d5212ff1409a1d00f2f29f16242058e8249a.tar.xz
Fix warning
Signed-off-by: Mattias Andrée <maandree@kth.se>
-rw-r--r--src/libcoopgamma.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/libcoopgamma.c b/src/libcoopgamma.c
index 769b7b8..3421798 100644
--- a/src/libcoopgamma.c
+++ b/src/libcoopgamma.c
@@ -15,6 +15,9 @@
* You should have received a copy of the GNU General Public License
* along with this library. If not, see <http://www.gnu.org/licenses/>.
*/
+#define _DEFAULT_SOURCE
+#define _BSD_SOURCE
+
#include "libcoopgamma.h"
#include <sys/socket.h>