diff options
author | Mattias Andrée <maandree@member.fsf.org> | 2015-12-29 01:46:14 +0100 |
---|---|---|
committer | Mattias Andrée <maandree@member.fsf.org> | 2015-12-29 01:46:14 +0100 |
commit | 39f1a60497327c301e32a681c33138f42cb98359 (patch) | |
tree | e06df6393c1ff6fcd46d7a56c127657a60dfcdf3 /src/daemon.h | |
parent | m fix (diff) | |
download | sat-39f1a60497327c301e32a681c33138f42cb98359.tar.gz sat-39f1a60497327c301e32a681c33138f42cb98359.tar.bz2 sat-39f1a60497327c301e32a681c33138f42cb98359.tar.xz |
feature test macros
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
Diffstat (limited to '')
-rw-r--r-- | src/daemon.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/daemon.h b/src/daemon.h index bd4a7af..f6ebaf0 100644 --- a/src/daemon.h +++ b/src/daemon.h @@ -19,6 +19,9 @@ * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER * DEALINGS IN THE SOFTWARE. */ +#ifndef _DEFAULT_SOURCE +# define _DEFAULT_SOURCE +#endif #include <stddef.h> #include <errno.h> #include <string.h> @@ -108,7 +111,7 @@ struct job { /** * “argv” followed by “envp”. */ - char payload[0]; + char payload[]; }; |