aboutsummaryrefslogtreecommitdiffstats
path: root/src/client.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/client.h')
-rw-r--r--src/client.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/client.h b/src/client.h
index 900f6ec..b3ade56 100644
--- a/src/client.h
+++ b/src/client.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>
@@ -63,7 +66,6 @@ enum command {
*/
int send_command(enum command cmd, size_t n, const char *restrict msg);
-
/**
* Return the number of bytes required to store a string array.
*