[pisa-src] r1636 - trunk/pisabeacon/beaconmain.c

  • From: Thomas Jansen <mithi@xxxxxxxxx>
  • To: pisa-src@xxxxxxxxxxxxx
  • Date: Wed, 11 Nov 2009 12:19:17 +0100

Author: tjansen
Date: Wed Nov 11 12:19:17 2009
New Revision: 1636

Log:
usleep and inet_aton require _BSD_SOURCE.

Modified:
   trunk/pisabeacon/beaconmain.c

Modified: trunk/pisabeacon/beaconmain.c
==============================================================================
--- trunk/pisabeacon/beaconmain.c       Wed Nov 11 12:16:13 2009        (r1635)
+++ trunk/pisabeacon/beaconmain.c       Wed Nov 11 12:19:17 2009        (r1636)
@@ -10,6 +10,8 @@
  * @date Oct. 2009
  */
 
+#define _BSD_SOURCE
+
 #include <signal.h>            /* signals (who'd guess) */
 #include <getopt.h>            /* command line parsing */
 #include <string.h>            /* strncopy */

Other related posts:

  • » [pisa-src] r1636 - trunk/pisabeacon/beaconmain.c - Thomas Jansen