diff --git a/lisp/ob-C.el b/lisp/ob-C.el index 3a26bc014..c3e72c680 100644 --- a/lisp/ob-C.el +++ b/lisp/ob-C.el @@ -232,7 +232,10 @@ its header arguments." (list ;; includes (mapconcat - (lambda (inc) (format "#include %s" inc)) + (lambda (inc) + (if (string-prefix-p "<" inc) + (format "#include %s" inc) + (format "#include \"%s\"" inc))) includes "\n") ;; defines (mapconcat