~herrhotzenplotz/gcli-devel

gcli: sn: include stdarg.h v1 APPLIED

Nico Sonack: 1
 sn: include stdarg.h

 1 files changed, 2 insertions(+), 1 deletions(-)
build pending: alpine.yml
Export patchset (mbox)
How do I use this?

Copy & paste the following snippet into your terminal to import this patchset into git:

curl -s https://lists.sr.ht/~herrhotzenplotz/gcli-devel/patches/56759/mbox | git am -3
Learn more about email & git

[PATCH gcli] sn: include stdarg.h Export this patch

We otherwise see compilation failures on NetBSD due to va_list not
being defined.

Signed-off-by: Nico Sonack <nsonack@herrhotzenplotz.de>
---
 thirdparty/sn/sn.h | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/thirdparty/sn/sn.h b/thirdparty/sn/sn.h
index 37bc2fca..be220505 100644
--- a/thirdparty/sn/sn.h
+++ b/thirdparty/sn/sn.h
@@ -1,5 +1,5 @@
/*
 * Copyright 2021, 2022 Nico Sonack <nsonack@herrhotzenplotz.de>
 * Copyright 2021-2025 Nico Sonack <nsonack@herrhotzenplotz.de>
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions
@@ -34,6 +34,7 @@
#ifndef SN_H
#define SN_H

#include <stdarg.h>
#include <stdio.h>
#include <stdbool.h>
#include <string.h>
-- 
2.46.2