From 677b18213e2f3cdbe7bb2c9df54a0e2488c89714 Mon Sep 17 00:00:00 2001 From: Kristaps Dzonsons Date: Thu, 19 Mar 2009 16:40:49 +0000 Subject: Some Linux-isms. --- main.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'main.c') diff --git a/main.c b/main.c index fff3bed6..703b9483 100644 --- a/main.c +++ b/main.c @@ -28,6 +28,13 @@ #include "mdoc.h" +#ifdef __linux__ +extern int getsubopt(char **, char * const *, char **); +# ifndef __dead +# define __dead __attribute__((__noreturn__)) +# endif +#endif + #define WARN_WALL 0x03 /* All-warnings mask. */ #define WARN_WCOMPAT (1 << 0) /* Compatibility warnings. */ #define WARN_WSYNTAX (1 << 1) /* Syntax warnings. */ -- cgit