diff options
| author | Paul Elder <paul.elder@ideasonboard.com> | 2018-05-21 23:45:14 +0800 | 
|---|---|---|
| committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2018-05-21 21:24:39 +0300 | 
| commit | 262fce3f7d37646e2d8937a20e2967bbf3c167cf (patch) | |
| tree | 454e660fae16cff3fe430c9e9d1c9f05f63370c4 | |
| parent | 34e9716fb28c4128d7cfee24a910a47abeb2aa98 (diff) | |
events: Switch to _DEFAULT_SOURCE
glibc version 2.27 warns that _BSD_SOURCE is deprecated in favour of _DEFAULT
_SOURCE:
 # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use
_DEFAULT_SOURCE"
Fix the source code accordingly.
Signed-off-by: Paul Elder <paul.elder@ideasonboard.com>
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
| -rw-r--r-- | events.c | 2 | 
1 files changed, 1 insertions, 1 deletions
| @@ -12,7 +12,7 @@   * Contact: Laurent Pinchart <laurent.pinchart@ideasonboard.com>   */ -#define _BSD_SOURCE +#define _DEFAULT_SOURCE  #include <errno.h>  #include <stdio.h>  #include <stdlib.h> | 
