[hipl-commit] [trunk] Rev 3606: Add a required _BSD_SOURCE definition in chord.

  • From: Mircea Gherzan <mircea.gherzan@xxxxxxxxxxxxxx>
  • To: hipl-commit@xxxxxxxxxxxxx
  • Date: Thu, 11 Feb 2010 13:59:34 +0200

Committer: Mircea Gherzan <mircea.gherzan@xxxxxxxxxxxxxx>
Date: Thu Feb 11 12:59:11 2010 +0100
Revision: 3606
Revision-id: mircea.gherzan@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Branch nick: trunk

Log:
  Add a required _BSD_SOURCE definition in chord.

Modified:
  M  i3/chord/hosts.c

=== modified file 'i3/chord/hosts.c'
--- i3/chord/hosts.c    2010-02-11 11:49:47 +0000
+++ i3/chord/hosts.c    2010-02-11 11:59:11 +0000
@@ -1,5 +1,8 @@
 /* host registration (mainly for testing) */
 
+/* required for ifreq */
+#define _BSD_SOURCE
+
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>

Other related posts:

  • » [hipl-commit] [trunk] Rev 3606: Add a required _BSD_SOURCE definition in chord. - Mircea Gherzan