aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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>