diff options
author | John Marino <marino@FreeBSD.org> | 2015-11-13 00:04:37 +0000 |
---|---|---|
committer | John Marino <marino@FreeBSD.org> | 2015-11-13 00:04:37 +0000 |
commit | 8f3687f167eaeed875f36999b19af5a804f9f26c (patch) | |
tree | 747cc7efa952300d7cc5816301e8d72e5486db84 /net/wmnetmon/files/patch-leds.c | |
parent | devel/fb-adb: unbreak build on DragonFly (diff) |
net/wmnetmon: Expand patches fix malloc.h-less DF
While here, regenerate all the patches to put them in unified format.
Wow, that old diff format is unreadable.
Notes
Notes:
svn path=/head/; revision=401469
Diffstat (limited to 'net/wmnetmon/files/patch-leds.c')
-rw-r--r-- | net/wmnetmon/files/patch-leds.c | 22 |
1 files changed, 10 insertions, 12 deletions
diff --git a/net/wmnetmon/files/patch-leds.c b/net/wmnetmon/files/patch-leds.c index b90e3a9f1718..e9c3405cc117 100644 --- a/net/wmnetmon/files/patch-leds.c +++ b/net/wmnetmon/files/patch-leds.c @@ -1,12 +1,10 @@ -*** leds.c.orig Sun Apr 1 15:18:44 2001 ---- leds.c Sun Apr 1 15:19:01 2001 -*************** -*** 1,5 **** ---- 1,7 ---- - #include <stdlib.h> -+ #ifndef __FreeBSD__ - #include <malloc.h> -+ #endif - #include <X11/xpm.h> - #include <stdio.h> - #include "list.h" +--- leds.c.orig 1999-07-26 16:23:23 UTC ++++ leds.c +@@ -1,5 +1,7 @@ + #include <stdlib.h> ++#if ! (defined __FreeBSD__ || defined __DragonFly__) + #include <malloc.h> ++#endif + #include <X11/xpm.h> + #include <stdio.h> + #include "list.h" |